public ActionResult RegisterCoordinator(RegisterViewModel model)
        {
            if (ModelState.IsValid)
            {
                CoordinatorManager cm = new CoordinatorManager();

                cm.addCoordinator(model);
                return(RedirectToAction("Index", "Home"));
            }

            // If we got this far, something failed, redisplay form
            return(View(model));
        }
        public ActionResult RegisterCoordinator(RegisterViewModel model)
        {
            if (ModelState.IsValid)
            {
                CoordinatorManager cm = new CoordinatorManager();

                cm.addCoordinator(model);
                return RedirectToAction("Index", "Home");

            }

            // If we got this far, something failed, redisplay form
            return View(model);
        }