public void TestGetAllUsers() { int count = wheelService.GetAllUsers().Count(); Assert.Equal(5, count); }
// [Authorize(Roles = "Admin")] public IEnumerable <ApplicationUserViewModel> GetAll() { return(_wheelService.GetAllUsers().Select(x => TransformModels.ToApplicationUserViewModel(x))); }