//To Add new DepartmentList record public int AddDepartmentList(DepartmentList department) { db.DepartmentList.Add(department); db.SaveChanges(); return(1); }