/// <summary> /// Initializes a new instance of the <see cref="TagController"/> class. /// Contrutor padrão do TagController. /// </summary> /// <param name="appService">Application de serviço</param> /// <param name="loggerFactory">Factory de gerenciamento de logs</param> public TagController( ITagAppService appService, ILoggerFactory loggerFactory) : base(appService) { this.appService = appService; this.logger = loggerFactory.CreateLogger <TagController>(); }
public IndexModel(ITagAppService tagAppService) { _tagAppService = tagAppService; }
public TagPublicAppService_Tests() { _tagAppService = GetRequiredService <ITagAppService>(); _cmsKitTestData = GetRequiredService <CmsKitTestData>(); }
public TagController(ITagAppService service) { _service = service; }
public EditModalModel(ITagAppService tagAppService) { _tagAppService = tagAppService; }
public TagAppService_Tests() { _tagAppService = GetRequiredService <ITagAppService>(); _tagRepository = GetRequiredService <ITagRepository>(); }
public TagsController(ITagAppService service, IScopeControl scopeControl) : base(scopeControl) { _service = service ?? throw new ArgumentNullException(nameof(service)); }
public TagAppServiceTests() { _tagAppService = GetRequiredService <ITagAppService>(); _tagRepository = GetRequiredService <IRepository <Tag, Guid> >(); }