Example #1
0
        public ActionResult Reclamations()
        {
            var mng = new CRMManager();
            ViewBag.ReclamationStatuses = mng.GetReclamationStatuses();
            ViewBag.Projects = mng.GetProjects();
            ViewBag.Projects.Insert(0, new tt_projects { id = 0, name = "Не выбран" });

            return View();
        }
        public ActionResult ReclamationsTable()
        {
            var mng     = new CRMManager();
            var haveWOW = new List <string>();

            haveWOW.Add(":)");
            ViewBag.Statuses = mng.GetReclamationStatuses();
            ViewBag.Projects = mng.GetProjects();
            ViewBag.haveWOW  = haveWOW;
            return(View());
        }