// GET: Task
        public ActionResult Index()
        {
            var data    = bLTask.GetAll();
            var Clients = clientModel.GetAll();

            ViewBag.Clients = new SelectList(Clients, "ID", "Name");
            return(View(data));
        }
Exemple #2
0
        // GET: Client
        public ActionResult Index()
        {
            BLClientModel client  = new BLClientModel();
            var           clients = client.GetAll();

            return(View(clients));
        }
        public ActionResult OpenTaskNote(long id)
        {
            BLTaskNote taskNote = new BLTaskNote();
            var        Clients  = clientModel.GetAll();

            ViewBag.Clients = new SelectList(Clients, "ID", "Name");
            var casenote = taskNote.GetByCaseId(id);

            return(PartialView("_partialTaskNote", casenote));
        }