public void DeleteVehicle(int id) { using (_ctx = new GuildCarsEntities()) { try { _ctx.DeleteVehicle(id); } catch (Exception ex) { throw ex; } } }
public void DeleteVehicle(int id) { using (_ctx = new GuildCarsEntities()) { try { _ctx.DeleteVehicle(id); } catch (Exception ex) { throw ex; } } }