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; }
public AppController(ImailService service, WorldContext context ) { _mailService = service; _context = context; }