Ejemplo n.º 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.");
     }
 }
Ejemplo n.º 2
0
 public bool DeleteProductType(FooterDTO item)
 {
     return(footerRepository.Delete(item));
 }