public ApplicationUserViewModel GetByUserId(string userId) { return(TransformModels.ToApplicationUserViewModel(_wheelService.GetUserById(userId))); }
// [Authorize(Roles = "Admin")] public IEnumerable <ApplicationUserViewModel> GetAll() { return(_wheelService.GetAllUsers().Select(x => TransformModels.ToApplicationUserViewModel(x))); }