public IEnumerable <UserDto> GetAllUsers() { return(userDb.GetAllUsers().Select(u => new UserDto() { Id = u.Id, Name = u.Name, Username = u.Username, Password = u.Password, Roles = u.Roles, Payments = u.Payments })); }