Ejemplo n.º 1
0
 public bool ExisteCodigo(string codigo, int id, int empresaId)
 {
     try
     {
         return(repository.ExisteCodigo(codigo, id, empresaId));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }