Example #1
0
        public TechNoteViewModel(ITechNoteService techNoteService)
        {
            //TechNotePaging = new TechNotePagingViewModel();
            TechNoteSearchCriteria = new TechNoteSearchCriteriaViewModel();
            TechNotes = new PagedResult <TechNote>();

            _techNoteService = techNoteService;
        }
Example #2
0
 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;
 }