public SettledController(ISettledBetService settledBetService, IAppSettings appSettings) { _settledBetService = settledBetService; _path = appSettings.GetSettledFilePath(); }
public UnsettledController(IUnsettledBetService unsettledBetService, IAppSettings appSettings) { _unsettledBetService = unsettledBetService; _unsettledBetService.UnsettledFilePath = appSettings.GetUnsettledFilePath(); _unsettledBetService.SettledFilePath = appSettings.GetSettledFilePath(); }