public Task <int> SaveItemAsync(PrayerItem item) { if (item.ID != 0) { return(Database.UpdateAsync(item)); } else { return(Database.InsertAsync(item)); } }
public Task <int> DeleteItemAsync(PrayerItem item) { return(Database.DeleteAsync(item)); }