public Clientes Delete(int id) { var entity = GetById(id); if (entity != null) { almacenDb.Remove(entity); } return(entity); }
public Productos Delete(int id) { var prod = GetById(id); if (prod != null) { almacenDb.Remove(prod); } return(prod); }
public DespachoProductos Delete(int id) { var desp = GetById(id); if (desp != null) { almacenDb.Remove(desp); } return(desp); }
public Usuarios Delete(int id) { var usuarios = GetById(id); if (usuarios != null) { almacenDb.Remove(usuarios); } return(usuarios); }