public ActionResult DeletePost(int id)
        {
            var service = new TemplateService();

            service.DeleteTemplate(id);

            TempData["SaveResult"] = "Template Deleted";

            return(RedirectToAction("Index"));
        }