/// <summary> /// Initializes a new instance of the <see cref="CategoryModel"/> class. /// </summary> /// <param name="repository"> /// The repository. /// </param> /// <param name="fullTextModel"> /// The full Text Model. /// </param> public CategoryModel(IRepository <Category, int> repository, FullTextModel fullTextModel) : base(repository) { this.fullTextModel = fullTextModel; }
public TopicModel(FullTextModel fullTextModel, IRepository <Topic, int> repository) : base(repository) { this.fullTextModel = fullTextModel; }
/// <summary> /// Initializes a new instance of the <see cref="ContactModel"/> class. /// </summary> /// <param name="fullTextModel"> /// The full Text Model. /// </param> /// <param name="repository"> /// The repository. /// </param> public ContactModel(FullTextModel fullTextModel, IRepository <Contact, int> repository) : base(repository) { this.fullTextModel = fullTextModel; }
public ContactModel(FullTextModel fullTextModel, IRepository <Contact, int> repository) : base(repository) { _fullTextModel = fullTextModel ?? throw new ArgumentNullException(nameof(fullTextModel)); }
public CategoryModel(IRepository <Category, int> repository, FullTextModel fullTextModel) : base(repository) { _fullTextModel = fullTextModel ?? throw new ArgumentNullException(nameof(fullTextModel)); }