Example #1
0
 /// <summary>
 /// Elimina un elemento existente
 /// </summary>
 /// <param name="entity">Entidad con datos</param>
 public void Delete(Vehiculo entity)
 {
     _repository.Delete(entity);
     _repository.Save();
 }
Example #2
0
 public bool Delete(int id)
 {
     return(vehiculorepository.Delete(id));
 }