public MyApplicationController( IMyApplicationService myApplicationService, ICvStorageService cvStorageService, IMapper mapper, IStringLocalizer <MyApplicationController> stringLocalizer, UserManager <ApplicationUser> userManager, ApplicationDbContext context) { _myApplicationService = myApplicationService; _cvStorageService = cvStorageService; _mapper = mapper; _stringLocalizer = stringLocalizer; _userManager = userManager; _context = context; }
//constructor - resolve dependencies here public MyWinService() { _myApplicationService = new MyApplicationService(); }