public List <DtoUser> Read() { List <DtoUser> dtoList = DaoGeneric <dbcrudapiContext, User> .Read() .Select(entity => DtoUser.EntityToDto(entity)) .ToList(); return(dtoList); }
public List <DtoUser> Read() { List <DtoUser> dtoList = DaoGeneric <dbcrudapiContext, User> .Read() .Select(entity => DtoUser.EntityToDto(entity)) .ToList(); return(dtoList); }