public void BenchmarkAddUpdateUser() { User user = new User(); user.FirstName = "PerFirstName"; user.LastName = "PerLastName"; user.EmployeeID = 6001; obj.AddUser(user); obj.UpdateUser(user); }
public void TestAddUser() { User item = new User(); item.FirstName = "Sudhesh"; item.LastName = "vardhan"; item.EmployeeID = 4001; var list = businessObj.AddUser(item); userId = list.FirstOrDefault(x => x.EmployeeID == 4001).UserID; Assert.AreNotEqual(userId, 0); }
public List <User> AddUser(User item) { return(businessObj.AddUser(item)); }