public ActionResult AllManagersWithTasks()
        {

            //Create some customize managers and tasks for testing AllManagerWithTasks View
            AllManagersDataTest testManagersData = new AllManagersDataTest();
            return View(testManagersData.GetManagers());
        }
 public ActionResult ManagersTask(int id)
 {
     AllManagersDataTest allManagersDataTest = new AllManagersDataTest();
     ICollection<Manager> managers= allManagersDataTest.GetManagers();
     return View(managers.Single(x => x.ManagerId == id).Tasks);
 }
 public ActionResult Index()
 {
     AllManagersDataTest allManagersDataTest = new AllManagersDataTest();
     ViewBag.Managers = allManagersDataTest.GetManagers();
     return View();
 }