@@ -28,7 +28,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2828using System . Threading . Tasks ;
2929using eFormCore ;
3030using ItemsPlanning . Pn . Services . ItemsPlanningCaseService ;
31- using Microting . eForm . Dto ;
3231using Microting . eForm . Infrastructure . Constants ;
3332using Microting . eForm . Infrastructure . Data . Entities ;
3433using Microting . eFormApi . BasePn . Abstractions ;
@@ -44,7 +43,6 @@ namespace ItemsPlanning.Pn
4443 using Infrastructure . Data . Seed . Data ;
4544 using Infrastructure . Models . Settings ;
4645 using Services . ItemsPlanningTagsService ;
47- //using Messages;
4846 using Microsoft . AspNetCore . Builder ;
4947 using Microsoft . EntityFrameworkCore ;
5048 using Microsoft . Extensions . Configuration ;
@@ -59,15 +57,13 @@ namespace ItemsPlanning.Pn
5957 using Microting . ItemsPlanningBase . Infrastructure . Const ;
6058 using Microting . ItemsPlanningBase . Infrastructure . Data ;
6159 using Microting . ItemsPlanningBase . Infrastructure . Data . Factories ;
62- //using Rebus.Bus;
6360 using Services . ExcelService ;
6461 using Services . ItemsPlanningLocalizationService ;
6562 using Services . ItemsPlanningPnSettingsService ;
6663 using Services . ItemsPlanningReportService ;
6764 using Services . PairingService ;
6865 using Services . PlanningImportService ;
6966 using Services . PlanningService ;
70- using Services . RebusService ;
7167 using Services . UploadedDataService ;
7268 using Services . WordService ;
7369
@@ -96,7 +92,6 @@ public void ConfigureServices(IServiceCollection services)
9692 services . AddTransient < IPlanningService , PlanningService > ( ) ;
9793 services . AddTransient < IPairingService , PairingService > ( ) ;
9894 services . AddTransient < IUploadedDataService , UploadedDataService > ( ) ;
99- services . AddSingleton < IRebusService , RebusService > ( ) ;
10095 services . AddTransient < IWordService , WordService > ( ) ;
10196 services . AddTransient < IPlanningExcelService , PlanningExcelService > ( ) ;
10297 services . AddTransient < IPlanningImportService , PlanningImportService > ( ) ;
@@ -186,10 +181,6 @@ public void ConfigureDbContext(IServiceCollection services, string connectionStr
186181
187182 public void Configure ( IApplicationBuilder appBuilder )
188183 {
189- var serviceProvider = appBuilder . ApplicationServices ;
190-
191- IRebusService rebusService = serviceProvider . GetService < IRebusService > ( ) ;
192- rebusService ! . Start ( _connectionString ) . GetAwaiter ( ) . GetResult ( ) ;
193184 }
194185
195186 public List < PluginMenuItemModel > GetNavigationMenu ( IServiceProvider serviceProvider )
0 commit comments