Example #1
0
 public ExampleController(IExampleRepo repo, IEmailService emailService)
 {
     this._repo         = repo;
     this._emailService = emailService;
 }
Example #2
0
 public ExampleController(IExampleRepo repo)
 {
     this._repo = repo;
 }
 public ExampleRepoDIController(IExampleRepo exampleRepo, IMySqlUnitOfWork unitOfWork)
 {
     ExampleRepo = exampleRepo;
     UnitOfWork  = unitOfWork;
 }