Example #1
0
 public PersonController(IMediatorHandler mediator,
                         IPersonRepository personRepository,
                         IPersonAdapter personAdapter,
                         UserManager <IdentityUser> userManager,
                         IUserAdapter userAdapter,
                         INotificationHandler <DomainNotification> notifications,
                         IStringLocalizer <ConfigurationController> localizer,
                         ILogger <ConfigurationController> logger)
     : base(notifications, userManager, userAdapter, mediator, localizer, logger)
 {
     _personRepository = personRepository;
     _personAdapter    = personAdapter;
 }
Example #2
0
 public HomeController()
 {
     _adapter = new PersonDataAdapter();
 }
Example #3
0
 public HomeController(IPersonAdapter adapter)
 {
     _adapter = adapter;
 }