public TechNoteViewModel(ITechNoteService techNoteService) { //TechNotePaging = new TechNotePagingViewModel(); TechNoteSearchCriteria = new TechNoteSearchCriteriaViewModel(); TechNotes = new PagedResult <TechNote>(); _techNoteService = techNoteService; }
public ReferenceRoomController(IHttpContextAccessor accessor, IHostingEnvironment hostingEnvironment, ITechNoteViewModel techNoteViewModel, ITechNoteService techNoteService, ISmartXRelatedService smartXRelatedService, Microsoft.Extensions.Configuration.IConfiguration configuration) { _techNoteService = techNoteService; _hostingEnvironment = hostingEnvironment; _accessor = accessor; _techNoteViewModel = techNoteViewModel; _smartXRelatedService = smartXRelatedService; _configuration = configuration; }