forked from MDCPS/DamageAssessment_Backend
		
	added active and historical end points in response service
This commit is contained in:
		| @ -4,7 +4,7 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface ISurveyServiceProvider | ||||
|     { | ||||
|         Task<List<Survey>> getSurveysAsync(string token); | ||||
|         Task<List<Survey>> getSurveysAsync(string language,string token); | ||||
|         Task<Survey> getSurveyAsync(int surveyId,string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -9,8 +9,8 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
|         Task<(bool IsSuccess, Models.SurveyResponse SurveyResponse, string ErrorMessage)> PostSurveyResponseAsync(Models.SurveyResponse surveyResponse); | ||||
|        // Task<(bool IsSuccess,dynamic surveyResponses, string ErrorMessage)> GetSurveyResponseAsync(int responseId); | ||||
|         Task<(bool IsSuccess, dynamic surveyResponses, string ErrorMessage)> GetSurveyResponsesAsync(int employeeid); | ||||
|         Task<(bool IsSuccess, dynamic Surveys, string ErrorMessage)> GetActiveSurveysAsync(int employeeid, string language); | ||||
|         Task<(bool IsSuccess, dynamic Surveys, string ErrorMessage)> GetHistoricSurveysAsync(int employeeid, string language); | ||||
|         Task<(bool IsSuccess, dynamic Surveys, string ErrorMessage)> GetActiveSurveysAsync(int? employeeid, string language); | ||||
|         Task<(bool IsSuccess, dynamic Surveys, string ErrorMessage)> GetHistoricSurveysAsync(int? employeeid, string language); | ||||
|         Task<(bool IsSuccess, Models.SurveyResponse SurveyResponse, string ErrorMessage)> PutSurveyResponseAsync(int Id, Models.SurveyResponse surveyResponse); | ||||
|         Task<(bool IsSuccess, Models.SurveyResponse SurveyResponse, string ErrorMessage)> DeleteSurveyResponseAsync(int Id); | ||||
|         Task<(bool IsSuccess, dynamic SurveyResponse, string ErrorMessage)> GetSurveyResponseByIdAsync(int responseId); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user