Example #1
0
        public List <DtoUser> Read()
        {
            List <DtoUser> dtoList = DaoGeneric <dbcrudapiContext, User> .Read()
                                     .Select(entity => DtoUser.EntityToDto(entity))
                                     .ToList();

            return(dtoList);
        }