예제 #1
0
 public AppController(ImailService mailService, IWorldRepository repository)
 {
     try
     {
         _mailService = mailService;
         _repository  = repository;
     }
     catch (Exception)
     {
         throw;
     }
 }
        public AppController(ImailService mailService,IWorldRepository repository)
        {
            try
            {
                _mailService = mailService;
                _repository = repository;
            }
            catch (Exception)
            {

                throw;
            }
        }
 public AppController(ImailService mailService, IRepository <Product> contextRepo)
 {
     _mailService = mailService;
     _contextRepo = contextRepo;
 }
예제 #4
0
 public AppController(ImailService service, WorldContext context )
 {
     _mailService = service;
     _context = context;
 }