public HomeController( EfCoreContactRepository contactRepository, EfCoreFavorRepository favorRepository, EfCorePortfolioRepository portfolioRepository, EfCoreResumeRepository resumeRepository, EfCoreSettingRepository settingRepository, EfCoreSkillRepository skillRepository, EfCoreSocialMediaRepository socialMediaRepository, IHttpContextAccessor accessor, IFileUploader fileUploader, IHostingEnvironment env ) { _contactRepository = contactRepository; _favorRepository = favorRepository; _portfolioRepository = portfolioRepository; _resumeRepository = resumeRepository; _settingRepository = settingRepository; _skillRepository = skillRepository; _socialMediaRepository = socialMediaRepository; _accessor = accessor; _fileUploader = fileUploader; _env = env; }
public SocialMediasController(EfCoreSocialMediaRepository repository) { _repository = repository; }