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