public JsonResult GetAllUsers(int roleId) { var data = UsersViewModel.GetAllUsers(roleId); return(Json(new { result = data }, JsonRequestBehavior.AllowGet)); }
public ActionResult GetAllPatientUsers() { return(View(UsersViewModel.GetAllUsers(3))); }