public async Task <bool> AddAsync(MovieItem item) { try { await DatabaseRepository.Current.InsertAsync(item); WatchlistChanged?.Invoke(this, item); return(true); } catch (Exception ex) { throw ex; } }
public async Task <bool> RemoveAsync(MovieItem item) { try { await DatabaseRepository.Current.DeleteAsync(entity : item); WatchlistChanged?.Invoke(this, item); return(true); } catch (Exception ex) { throw ex; } }