コード例 #1
0
        public void DeleteEmployeeTest(int id)
        {
            //Arrange

            //Act
            bool result = employeeOperations.DeleteEmployee(id);

            //Assert
            Assert.IsTrue(result);
        }
コード例 #2
0
 public IActionResult Delete(int id)
 {
     return(Ok(_employeeOperations.DeleteEmployee(id)));
 }