예제 #1
0
 public async Task <CostUnit> SaveCostUnit(CostUnit pCostUnit)
 {
     if (pCostUnit.Id == Guid.Empty)
     {
         return(await mAsyncCLient.AddCostUnitAsync(pCostUnit));
     }
     return(await mAsyncCLient.EditCostUnitAsync(pCostUnit));
 }
예제 #2
0
 public CostUnit EditCostUnit(CostUnit pCostUnit) => mBlue10Async.EditCostUnitAsync(pCostUnit).Sync();