/// <summary> /// Elimina un elemento existente /// </summary> /// <param name="entity">Entidad con datos</param> public void Delete(Modelo entity) { _repository.Delete(entity); _repository.Save(); }
public async Task Delete(Guid Id) { await _modeloRepository.Delete(Id); }