public int Delete(int id)
 {
     try
     {
         return(_supplierRepository.DeleteById(id));
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }