Beispiel #1
0
 public Task <int> SaveLocalScoreCardAsync(LocalScoreCard card)
 {
     if (card.Hole != 0)
     {
         return(database.UpdateAsync(card));
     }
     else
     {
         return(database.InsertAsync(card));
     }
 }
Beispiel #2
0
 public Task <int> DeleteLocalScoreCardAsync(LocalScoreCard coord)
 {
     return(database.DeleteAsync(coord));
 }