forked from MDCPS/DamageAssessment_Backend
		
	merged azure and user access changes to docker azure branch
This commit is contained in:
		| @ -4,9 +4,9 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface IAnswerServiceProvider | ||||
|     { | ||||
|         Task<List<Answer>> getAnswersAsync(); | ||||
|         Task<List<Models.Answer>> GetAnswersByResponseIdAsync(int responseId); | ||||
|         Task<List<Answer>> getAnswersAsync(string token); | ||||
|         Task<List<Models.Answer>> GetAnswersByResponseIdAsync(int responseId, string token); | ||||
|  | ||||
|         Task<Models.Answer> PostAnswersAsync(Models.Answer answer); | ||||
|         Task<Models.Answer> PostAnswersAsync(Models.Answer answer, string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -4,7 +4,7 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface IAttachmentServiceProvider | ||||
|     { | ||||
|         Task<List<Attachment>> getAttachmentsAsync(); | ||||
|         Task<IEnumerable<Attachment>> PostAttachmentsAsync(Models.AttachmentInfo attachmentInfo); | ||||
|         Task<List<Attachment>> getAttachmentsAsync(string token); | ||||
|         Task<IEnumerable<Attachment>> PostAttachmentsAsync(Models.AttachmentInfo attachmentInfo, string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| using DamageAssesment.Api.Responses.Models; | ||||
| using DamageAssesment.Api.Responses.Models; | ||||
|  | ||||
| namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface IEmployeeServiceProvider | ||||
|     { | ||||
|         Task<List<Employee>> getEmployeesAsync(); | ||||
|         Task<Employee> getEmployeeAsync(int employeeId); | ||||
|         Task<List<Employee>> getEmployeesAsync(string token); | ||||
|         Task<Employee> getEmployeeAsync(int employeeId, string token); | ||||
|     } | ||||
| } | ||||
| } | ||||
| @ -1,9 +1,9 @@ | ||||
| using DamageAssesment.Api.Responses.Models; | ||||
| using DamageAssesment.Api.Responses.Models; | ||||
|  | ||||
| namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface IHttpUtil | ||||
|     { | ||||
|         Task<string> SendAsync(HttpMethod method, string url, string JsonInput); | ||||
|         Task<string> SendAsync(HttpMethod method, string url, string JsonInput, string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -4,6 +4,6 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface ILocationServiceProvider | ||||
|     { | ||||
|         Task<List<Location>> getLocationsAsync(); | ||||
|         Task<List<Location>> getLocationsAsync(string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -4,8 +4,8 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface IQuestionServiceProvider | ||||
|     { | ||||
|         Task<List<Question>> getQuestionsAsync(); | ||||
|         Task<List<SurveyQuestions>> getSurveyQuestionsAsync(int surveyId); | ||||
|         Task<Question> getQuestionsAsync(int questionId); | ||||
|         Task<List<Question>> getQuestionsAsync(string token); | ||||
|         Task<List<SurveyQuestions>> getSurveyQuestionsAsync(int surveyId, string token); | ||||
|         Task<Question> getQuestionsAsync(int questionId, string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -4,6 +4,6 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface IRegionServiceProvider | ||||
|     { | ||||
|         Task<List<Region>> getRegionsAsync(); | ||||
|         Task<List<Region>> getRegionsAsync(string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -4,7 +4,7 @@ namespace DamageAssesment.Api.Responses.Interfaces | ||||
| { | ||||
|     public interface ISurveyServiceProvider | ||||
|     { | ||||
|         Task<List<Survey>> getSurveysAsync(string language); | ||||
|         Task<Survey> getSurveyAsync(int surveyId); | ||||
|         Task<List<Survey>> getSurveysAsync(string token); | ||||
|         Task<Survey> getSurveyAsync(int surveyId,string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user