public Task <int> SaveShotDrinkAsync(ShotDrink drink) { if (drink.ID != 0) { return(database.UpdateAsync(drink)); } else { return(database.InsertAsync(drink)); } }
public Task <int> DeleteShotDrinkAsync(ShotDrink drink) { return(database.DeleteAsync(drink)); }