Example #1
0
 /// <inheritdoc />
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="factory"></param>
 public IntentController(IChatBotDataFactory factory)
 {
     _intentService = factory.GetIntentService();
     _mapper        = factory.GetMapperService();
 }
Example #2
0
 /// <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();
 }