public void Delete(Guid footerId) { if (FooterRepository.Exists(footerId)) { FooterRepository.Delete(footerId); } else { throw new MissingFooterException("This footer is not in the database."); } }
public bool DeleteProductType(FooterDTO item) { return(footerRepository.Delete(item)); }