main
|
Last change
on this file since a7550ca was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago |
|
Added files
|
-
Property mode
set to
100644
|
|
File size:
389 bytes
|
| Rev | Line | |
|---|
| [877c13c] | 1 | namespace ChapterX.API
|
|---|
| 2 | {
|
|---|
| 3 | public static class DependencyInjection
|
|---|
| 4 | {
|
|---|
| 5 | public static IServiceCollection AddPresentation(this IServiceCollection services)
|
|---|
| 6 | {
|
|---|
| 7 | services.AddMediatR(config =>
|
|---|
| 8 | {
|
|---|
| 9 | config.RegisterServicesFromAssembly(typeof(DependencyInjection).Assembly);
|
|---|
| 10 | });
|
|---|
| 11 | return services;
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
| 14 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.