Пример #1
0
        public JsonResult GetClimates()
        {
            var results = _genSvc.GetAllClimates().Where(c => c.ClimateActive == true).ToList();

            return(Json(results, JsonRequestBehavior.AllowGet));
        }