Esempio n. 1
0
 public async Task <CostCenter> SaveCostCenter(CostCenter pCostCenter)
 {
     if (pCostCenter.Id == Guid.Empty)
     {
         return(await mAsyncCLient.AddCostCenterAsync(pCostCenter));
     }
     return(await mAsyncCLient.EditCostCenterAsync(pCostCenter));
 }
Esempio n. 2
0
 public CostCenter AddCostCenter(CostCenter pCostCenter) => mBlue10Async.AddCostCenterAsync(pCostCenter).Sync();