private async Task <Guid?> GetIdConta() => (await _contaService.GetAsync(x => x.IdCliente == _userService.GetId())).FirstOrDefault()?.Id;
public async Task <ActionResult <IEnumerable <ContaGet> > > Get() { var contas = await _contaService.GetAsync(x => true, nameof(Conta.Cliente)); return(CustomResponse(base.Injector.Mapper.Map <IEnumerable <ContaGet> >(contas))); }