Beispiel #1
0
 public CancelCommand(IUnitOfWorkFactory unitOfWorkFactory)
 {
     _subSeriesRepository = ((UnitOfWork)unitOfWorkFactory.Create()).SubSeries;
 }
Beispiel #2
0
 public MassMailing(IUnitOfWorkFactory unitOfWorkFactory, TelegramBotClient client)
 {
     _subSeriesRepository = ((UnitOfWork)unitOfWorkFactory.Create()).SubSeries;
     _seriesRepository    = ((UnitOfWork)unitOfWorkFactory.Create()).Series;
     _client = client;
 }