public void TestMethod2() { EmployeeRepo employeeRepo = new EmployeeRepo(); bool success = employeeRepo.AddNewEmployee("Terisa", 300, System.DateTime.Now, "Med", "1472583690", "Bangalore", 'F'); Assert.IsTrue(success); }
public ActionResult Add(Employee emp) { repo.AddNewEmployee(emp); return(RedirectToAction("List")); }