public IEnumerable <UserDetailsView> GetUsers() { Userservice userservice = new Userservice(); IEnumerable <UserDetailsView> users = userservice.GetUsers(); return(users); }