public async Task <HttpResponseMessage> DeleteUser(DeleteUserByIdRequest deleteUserRequest) { var content = IntegrationHttpRequest.CreateQuery(deleteUserRequest); HttpResponseMessage response = await client.DeleteAsync(UrlBase + String.Format("api/v1/delete-user?{0}", content)); return(response); }
public async Task <HttpResponseMessage> DeleteOperativeSystem(DeleteOperativeSystemByIdRequest deleteOperativeSystemRequest) { var content = IntegrationHttpRequest.CreateQuery(deleteOperativeSystemRequest); HttpResponseMessage response = await client.DeleteAsync(UrlBase + String.Format("api/v1/delete-operative-system?{0}", content)); return(response); }
public async Task <HttpResponseMessage> GetUserById(GetUserByIdRequest getUserByIdRequest) { //getCompanyRequest.Id = Guid.Parse("6383ff38-92f9-4bda-e61a-08d783dd9ba7"); var content = IntegrationHttpRequest.CreateQuery(getUserByIdRequest); HttpResponseMessage response = await client.GetAsync(UrlBase + String.Format("api/v1/get-User-by-id?{0}", content)); return(response); }