/// <inheritdoc /> /// <summary> /// Constructor /// </summary> /// <param name="factory"></param> public IntentController(IChatBotDataFactory factory) { _intentService = factory.GetIntentService(); _mapper = factory.GetMapperService(); }
/// <summary> /// Constructor /// </summary> /// <param name="factory"></param> /// <param name="chatbotDataContext"></param> public InterviewService(IChatBotDataFactory factory, IChatBotDataContext chatbotDataContext) { _chatbotDataContext = chatbotDataContext; _resourceService = factory.GetResourceService(Common.Constants.ResourceComponent); _intentService = factory.GetIntentService(); }