public async Task <Entities.Clients> UpdateClientsAysnc(Entities.Clients clients) { var res = await _unitOfWork.ClientsRepository.UpdateAsync(clients); //_unitOfWork.ClientsRepo.SaveChangesAsync(); return(res); }
public async Task <Entities.Clients> UpdateClientsAsync([FromBody] Entities.Clients clients) { return(await _clientsService.UpdateClientsAysnc(clients)); }