Пример #1
0
 public void Delete(Guid footerId)
 {
     if (FooterRepository.Exists(footerId))
     {
         FooterRepository.Delete(footerId);
     }
     else
     {
         throw new MissingFooterException("This footer is not in the database.");
     }
 }
Пример #2
0
 public bool DeleteProductType(FooterDTO item)
 {
     return(footerRepository.Delete(item));
 }