Пример #1
0
 /*==========================================================================================================================
 | CONSTRUCTOR
 \-------------------------------------------------------------------------------------------------------------------------*/
 /// <summary>
 ///   Initializes a new instance of a Topic Controller with necessary dependencies.
 /// </summary>
 /// <returns>A topic controller for loading OnTopic views.</returns>
 public FormsController(
   ITopicRepository topicRepository,
   ITopicMappingService topicMappingService,
   IReverseTopicMappingService reverseTopicMappingService,
   ISmtpService smtpService
 ) : base(
   topicRepository,
   topicMappingService
 ) {
   _topicMappingService      = topicMappingService;
   _reverseMappingService    = reverseTopicMappingService;
   _smptService              = smtpService;
 }