public void TestDeleteCarpentryServices()
        {
            var controller = new CarpentryServiceService(carpentryWebsiteContext);

            controller.DeleteCarpentryService(6);
            CarpentryService result = controller.GetCarpentryServiceDetails(6);

            Assert.Null(result);
        }
Ejemplo n.º 2
0
 public int Delete(int id)
 {
     return(carpentryServiceService.DeleteCarpentryService(id));
 }