/// <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>();
 }
Esempio n. 2
0
 public IndexModel(ITagAppService tagAppService)
 {
     _tagAppService = tagAppService;
 }
Esempio n. 3
0
 public TagPublicAppService_Tests()
 {
     _tagAppService  = GetRequiredService <ITagAppService>();
     _cmsKitTestData = GetRequiredService <CmsKitTestData>();
 }
Esempio n. 4
0
 public TagController(ITagAppService service)
 {
     _service = service;
 }
 public EditModalModel(ITagAppService tagAppService)
 {
     _tagAppService = tagAppService;
 }
Esempio n. 6
0
 public TagAppService_Tests()
 {
     _tagAppService = GetRequiredService <ITagAppService>();
     _tagRepository = GetRequiredService <ITagRepository>();
 }
Esempio n. 7
0
 public TagsController(ITagAppService service, IScopeControl scopeControl) : base(scopeControl)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }
Esempio n. 8
0
 public TagAppServiceTests()
 {
     _tagAppService = GetRequiredService <ITagAppService>();
     _tagRepository = GetRequiredService <IRepository <Tag, Guid> >();
 }