public virtual async Task <ClientDto> GetAsync(ClientGetByIdInputDto clientGetById) { return(await ClientAppService.GetAsync(clientGetById)); }
public virtual async Task <ClientDto> GetAsync(ClientGetByIdInputDto clientGetById) { var client = await ClientRepository.GetAsync(clientGetById.Id); return(ObjectMapper.Map <Client, ClientDto>(client)); }
public virtual async Task DeleteAsync(ClientGetByIdInputDto clientGetByIdInput) { await ClientAppService.DeleteAsync(clientGetByIdInput); }
public virtual async Task DeleteAsync(ClientGetByIdInputDto clientGetByIdInput) { await ClientRepository.DeleteAsync(clientGetByIdInput.Id); }