public ActionResult DeleteNetwork(int id) { _templatesService.DeleteNetwork(id); return(Json(new { success = true })); }