// GET: AW public ActionResult Index() { Departments ds = new Departments(APIConnector); if (ds.GetDepartmentsSync()) { return(View(ds)); } else { return(View("Error")); } }
// GET: AW public ActionResult Index() { Departments ds = new Departments(APIConnector); if (ds.GetDepartmentsSync()) { return(View(ds)); } else { return(View("Error")); } }