예제 #1
0
 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));
 }