Exemple #1
0
 public void Delete(string email)
 {
     if (read.GetByUse(email) == null)
     {
         throw new NotFoundTypeUseException();
     }
     delete.Delete(email);
 }
Exemple #2
0
 public void Delete(string email)
 {
     if (read.GetByName(email) == null)
     {
         throw new NotFoundEmployeeException();
     }
     delete.Delete(email);
 }
Exemple #3
0
 public void Delete(string email)
 {
     if (read.GetByEmail(email) == null)
     {
         throw new NotFoundClientException();
     }
     delete.Delete(email);
 }