forked from MDCPS/DamageAssessment_Backend
		
	user access module changes for populating employee Information
This commit is contained in:
		| @ -4,7 +4,7 @@ namespace DamageAssesment.Api.UsersAccess.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); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -4,8 +4,8 @@ namespace DamageAssesment.Api.UsersAccess.Interfaces | ||||
| { | ||||
|     public interface IUsersAccessProvider | ||||
|     { | ||||
|        public Task<(bool IsSuccess, IEnumerable< Models.User> Users, string ErrorMessage)> GetUsersAsync(); | ||||
|         public Task<(bool IsSuccess, Models.User User, string ErrorMessage)> GetUsersAsync(int Id); | ||||
|        public Task<(bool IsSuccess, IEnumerable<object> Users, string ErrorMessage)> GetUsersAsync(); | ||||
|         public Task<(bool IsSuccess, object User, string ErrorMessage)> GetUsersAsync(int Id); | ||||
|         public Task<(bool IsSuccess, Models.User User, string ErrorMessage)> PostUserAsync(Models.User User); | ||||
|         public Task<(bool IsSuccess, Models.User User, string ErrorMessage)> PutUserAsync(int Id,Models.User User); | ||||
|         public Task<(bool IsSuccess, Models.User User, string ErrorMessage)> DeleteUserAsync(int Id); | ||||
|  | ||||
| @ -2,6 +2,6 @@ | ||||
| { | ||||
|     public interface IHttpUtil | ||||
|     { | ||||
|         Task<string> SendAsync(HttpMethod method, string url, string JsonInput); | ||||
|         Task<string> SendAsync(HttpMethod method, string url, string JsonInput, string token); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user