public NewsHub(NewsStore newsStore) { _newsStore = newsStore; }
/// <summary> /// Constructor /// </summary> /// <param name="newsStore">store for news (injected by DI)</param> public NewsController(NewsStore newsStore) => _newsStore = newsStore;
public NewsStore InsertNewsStore(NewsStore entity) { return(_iNewsStoreRepository.InsertNewsStore(entity)); }
public NewsStore UpdateNewsStore(NewsStore entity) { return(_iNewsStoreRepository.UpdateNewsStore(entity)); }
public virtual NewsStore DeleteNewsStore(NewsStore entity) { this.DeleteNewsStore(entity.NewsId); return(entity); }
internal void InitializeGame(string[] names) { GameStore.InitPlayers(names); NewsStore.ResetNews(); StockStore.LoadPurchaseRecords(); }