public IEnumerable <ClientDTO> GetAll() { List <ClientDTO> Clients = new List <ClientDTO>(); foreach (var i in ClientRepository.GetAll()) { Clients.Add(mapper.ClientToClientDTO(i)); } return(Clients); }
public IEnumerable <ClientDTO> GetAll() { List <ClientDTO> Clients = new List <ClientDTO>(); foreach (var i in ClientRepository.GetAll()) { Clients.Add(mapper.ClientToClientDTO(i)); } return(Clients); }