Example #1
0
 public Task <int> SaveQRAsync(QR qr)
 {
     if (qr.ID != 0)
     {
         return(_database.UpdateAsync(qr));
     }
     else
     {
         return(_database.InsertAsync(qr));
     }
 }
Example #2
0
 public Task <int> DeleteQRAsync(QR qr)
 {
     return(_database.DeleteAsync(qr));
 }
Example #3
0
 public void EditQR(QR qr)
 {
     _database.UpdateAsync(qr);
 }