public void TestDeleteCarpentryServiceTypes() { var service = new CarpentryServiceTypeService(carpentryWebsiteContext); service.DeleteCarpentryServiceType(5); CarpentryServiceType result = service.GetCarpentryServiceTypeDetails(5); Assert.Null(result); }
public int Delete(int id) { return(carpentryServiceTypeService.DeleteCarpentryServiceType(id)); }