public Vehicle GetByID(Guid entityID) { return(_vehicleDAL.Get(v => v.ID == entityID)); }
public bool Delete(int modelID) { Vehicle vehicle = _vehicleDAL.Get(a => a.ID == modelID); return(_vehicleDAL.Delete(vehicle) > 0); }