Example #1
0
        public IActionResult SingleTask(int id)
        {
            var q    = new GetOpenTasks(_configuration);
            var task = q.GetSingleTask(id);


            return(View(task));
        }
Example #2
0
        public IActionResult EditTask(int Id)
        {
            GetOpenTasks  q            = new GetOpenTasks(_configuration);
            GetCategories g            = new GetCategories(_configuration);
            var           CategoryList = g.GetList();

            ViewBag.Task = q.GetSingleTask(Id);
            return(View("../Task/Supplier/EditTask", CategoryList));
        }