예제 #1
0
 public async Task <Clientes> GetAsync(int?IDCliente)
 {
     return(await _clienteRepository.GetAsync(IDCliente));
 }
예제 #2
0
        public async Task <ClientesViewModel> GetAsync(int id)
        {
            var obj = await _rep.GetAsync(id);

            return(Mapper.Map <ClientesViewModel>(obj));
        }