public void FullyDelUnitType(WarehouseUnitType delWarehUnitType) { try { _warehUnitTypeDal.Delete(delWarehUnitType); } catch (RepositoryException ex) { throw ex; } }
public WarehouseUnitType UpdWarehUnitType(WarehouseUnitType updWarehUnitType) { try { _warehUnitTypeDal.Update(updWarehUnitType); return(updWarehUnitType); } catch (RepositoryException ex) { throw ex; } }
public void DelWarehUnitType(WarehouseUnitType delWarehUnitType) { try { //delWarehUnitType.unit_type_deleted = true; _warehUnitTypeDal.Update(delWarehUnitType); } catch (RepositoryException ex) { throw ex; } }
public WarehouseUnitType AddWarehUnitType(WarehouseUnitType addWarehUnitType) { try { _warehUnitTypeDal.Add(addWarehUnitType); return(addWarehUnitType); } catch (RepositoryException ex) { throw ex; } }