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