public Task <int> SaveItemAsync4(Models.PhrasesFood item) { if (item.ID != 0) { return(database.UpdateAsync(item)); } else { return(database.InsertAsync(item)); } }
public Task <int> DeleteItemAsync4(Models.PhrasesFood item) { return(database.DeleteAsync(item)); }