public ActionResult GetTemplatets() { return(Json(new { templates = TemplatesService.GetAll() }, JsonRequestBehavior.AllowGet)); }