public ActionResult Index(Teacher teacher) { ViewBag.Departments = departmentBll.GetDepartments(); ViewBag.Designations = teacherBll.GetDesignation(); ViewBag.Message = teacherBll.Save(teacher); return View(); }
public ActionResult Index(Teacher teacher) { ViewBag.Departments = departmentBll.GetDepartments(); ViewBag.Designations = teacherBll.GetDesignation(); ViewBag.Message = teacherBll.Save(teacher); return View(); }