Пример #1
0
 public JsonResult GetFloorList()
 {
     try
     {
         return(Json(new SelectList(_floorService.Lists(), "Value", "Text"), JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(null);
     }
 }