public JsonResult GetFilterItems(int?userId) { return(Json(new ResponseVM(RequestTypeEnumVM.Success, Token.Success, new { Categories = DropDownS.Categories(), SubCategories = DropDownS.SubCategories(), Countries = DropDownS.Countries(), Provinces = DropDownS.Provinces(), CurrentUserInformation = DropDownS.UserInformation(userId) }), JsonRequestBehavior.AllowGet)); }
//Get RentalIndividualFields public JsonResult GetSubCategories() { return(Json(DropDownS.SubCategories(), JsonRequestBehavior.AllowGet)); }
//Get Catefories public ActionResult GetCategories() { return(Json(DropDownS.Categories(), JsonRequestBehavior.AllowGet)); }
public JsonResult GetCountries() { return(Json(DropDownS.Countries(), JsonRequestBehavior.AllowGet)); }
public JsonResult GetRoles() { return(Json(DropDownS.Roles(), JsonRequestBehavior.AllowGet)); }
public JsonResult GetGenders() { return(Json(DropDownS.Genders(), JsonRequestBehavior.AllowGet)); }
//Get Languages public JsonResult GetLanguages() { return(Json(DropDownS.LanguageTypes(), JsonRequestBehavior.AllowGet)); }
//Get Provinces public JsonResult GetProvinces() { return(Json(DropDownS.Provinces(), JsonRequestBehavior.AllowGet)); }
//GetGroups public ActionResult GetGroups() { return(Json(DropDownS.Groups(), JsonRequestBehavior.AllowGet)); }
//Get Input Types public JsonResult GetInputTypes() { return(Json(DropDownS.InputTypes(), JsonRequestBehavior.AllowGet)); }
//GetUsers public JsonResult GetUsers() { return(Json(DropDownS.Admins(), JsonRequestBehavior.AllowGet)); }