public void DeleteEmployeeRecordPositiveTest() { var actualCount = dataAccessComponent.DeleteEmployeeRecord(3102); var expectedCount = 1; Assert.AreEqual(expectedCount, actualCount); }
public int RemoveEmployee(int employeeId) { try { employeeDataAccessComponent = new EmployeeDataAccessComponent(); return(employeeDataAccessComponent.DeleteEmployeeRecord(employeeId)); } catch (Exception ex) { throw ex; } }