Esempio n. 1
0
        public Task <int> SaveItemAsync(PuzzleSolutionStats item)
        {
            if (item.ID != 0)
            {
                return(database.UpdateAsync(item));
            }

            return(database.InsertAsync(item));
        }
Esempio n. 2
0
 public Task <int> DeleteItemAsync(PuzzleSolutionStats item)
 {
     return(database.DeleteAsync(item));
 }