Exemplo n.º 1
0
 public void FullyDelUnitType(WarehouseUnitType delWarehUnitType)
 {
     try
     {
         _warehUnitTypeDal.Delete(delWarehUnitType);
     }
     catch (RepositoryException ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public WarehouseUnitType UpdWarehUnitType(WarehouseUnitType updWarehUnitType)
 {
     try
     {
         _warehUnitTypeDal.Update(updWarehUnitType);
         return(updWarehUnitType);
     }
     catch (RepositoryException ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
 public void DelWarehUnitType(WarehouseUnitType delWarehUnitType)
 {
     try
     {
         //delWarehUnitType.unit_type_deleted = true;
         _warehUnitTypeDal.Update(delWarehUnitType);
     }
     catch (RepositoryException ex)
     {
         throw ex;
     }
 }
Exemplo n.º 4
0
 public WarehouseUnitType AddWarehUnitType(WarehouseUnitType addWarehUnitType)
 {
     try
     {
         _warehUnitTypeDal.Add(addWarehUnitType);
         return(addWarehUnitType);
     }
     catch (RepositoryException ex)
     {
         throw ex;
     }
 }