public Compania Update(Compania entity)
 {
     repository.Update(entity);
     return entity;
 }
 public void Delete(Compania entity)
 {
     repository.Remove(entity);
 }
 public bool Contains(Compania item, string property, object value)
 {
     return repository.Contains(item, property, value);
 }
 public Compania Create(Compania entity)
 {
     repository.Add(entity);
     return entity;
 }
 public bool Contains(Compania item)
 {
     return repository.Contains(item);
 }