public ActionResult Templates()
        {
            var mng = new ContractsManager();

            ViewBag.DocTypes = mng.GetDocTypes();
            return(View());
        }
        public ActionResult Contracts()
        {
            var mng = new ContractsManager();

            ViewBag.ListType      = mng.GetDocTypes();
            ViewBag.ListTemplate  = mng.GetDocTypeTemplates();
            ViewBag.ListContagent = mng.GetContagents();
            ViewBag.ListStatuses  = mng.GetStatusesContract();
            return(View());
        }