survey-webapp/SurveyBackend/SurveyBackend.Services/Services/SurveyService.cs
shept 7a1078457d added UserContext for easy UserId getting
started writing custom services to implement users logic
2025-04-20 15:21:34 +05:00

46 lines
No EOL
1.1 KiB
C#

using SurveyBackend.Core.Repositories;
using SurveyLib.Core.Models;
using SurveyLib.Core.Repositories;
using SurveyLib.Core.Services;
namespace SurveyBackend.Services.Services;
public class SurveyService : ISurveyService
{
private readonly ISurveyRepository _surveyRepository;
public SurveyService(ISurveyRepository surveyRepository)
{
_surveyRepository = surveyRepository;
}
public async Task AddSurveyAsync(Survey survey)
{
throw new NotImplementedException();
}
public async Task UpdateSurveyAsync(Survey survey)
{
throw new NotImplementedException();
}
public async Task DeleteSurveyAsync(int id)
{
throw new NotImplementedException();
}
public async Task<IEnumerable<Survey>> GetSurveysAsync()
{
throw new NotImplementedException();
}
public async Task<Survey?> GetSurveyAsync(int id)
{
throw new NotImplementedException();
}
public async Task<IEnumerable<Survey>> GetSurveysByUserIdAsync(int userId)
{
throw new NotImplementedException();
}
}