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