Esempio n. 1
0
 public async Task Register(IEditableItem item)
 {
     try
     {
         using (CashRegisterContext ctx = new CashRegisterContext())
         {
             SupplyDT = DateTime.Now;
             await ctx.RegisterSupply(this, item);
         }
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }