2023-08-15 22:52:30 -05:00
|
|
|
|
namespace DamageAssesment.Api.Surveys.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface ISurveyProvider
|
|
|
|
|
{
|
2023-08-25 07:55:11 -05:00
|
|
|
|
Task<(bool IsSuccess, IEnumerable< Models.Survey> Surveys, string ErrorMessage)> GetSurveysAsync(string Language);
|
|
|
|
|
Task<(bool IsSuccess, Models.Survey Surveys, string ErrorMessage)> GetSurveysAsync(int Id, string Language);
|
2023-08-15 22:52:30 -05:00
|
|
|
|
Task<(bool IsSuccess, Models.Survey Survey, string ErrorMessage)> PostSurveyAsync(Models.Survey Survey);
|
|
|
|
|
Task<(bool IsSuccess, Models.Survey Survey, string ErrorMessage)> PutSurveyAsync(int Id,Models.Survey Survey);
|
|
|
|
|
Task<(bool IsSuccess, Models.Survey Survey, string ErrorMessage)> DeleteSurveyAsync(int Id);
|
2023-09-04 20:31:41 -05:00
|
|
|
|
void seedData();
|
2023-08-15 22:52:30 -05:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|