public JobController(IJobPostHandler _jobpastHandler, IHomeHandler _homeHandler, IUserProfileHandler _userProfileHandler, ISearchJobHandler _searchJobHandler) { jobpastHandler = _jobpastHandler; homeHandler = _homeHandler; searchJobHandler = _searchJobHandler; userProfileHandler = _userProfileHandler; }
public JobController(IJobPostHandler _jobpastHandler, IHomeHandler _homeHandler, IConfiguration _config, IHttpContextAccessor httpContextAccessor, IUserProfileHandler _userProfileHandler, ISearchJobHandler _searchJobHandler) { jobpastHandler = _jobpastHandler; homeHandler = _homeHandler; searchJobHandler = _searchJobHandler; userProfileHandler = _userProfileHandler; config = _config; _httpContextAccessor = httpContextAccessor; URLprotocol = config["URLprotocol"]; }