source: ChapterX.API/DependencyInjection.cs@ a8f4a2d

main
Last change on this file since a8f4a2d was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 389 bytes
RevLine 
[877c13c]1namespace 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.