public JsonResult GetClimates() { var results = _genSvc.GetAllClimates().Where(c => c.ClimateActive == true).ToList(); return(Json(results, JsonRequestBehavior.AllowGet)); }
public JsonResult GetClimates() { var results = _genSvc.GetAllClimates().Where(c => c.ClimateActive == true).ToList(); return(Json(results, JsonRequestBehavior.AllowGet)); }