Exemplo n.º 1
0
 public CategoryController(ICategoryAppService categoryAppService,
                           INotificationHandler <DomainNotification> notifications,
                           IUser user,
                           IMediatorHandler mediator) : base(notifications, mediator, user)
 {
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 2
0
 public DetailController(IStoreAppService appService, ICategoryAppService categoryAppService, ILocationAppService locationAppService, IProvinceAppService provinceAppService)
 {
     _storeAppService    = appService;
     _categoryAppService = categoryAppService;
     _locationAppService = locationAppService;
     _provinceAppService = provinceAppService;
 }
Exemplo n.º 3
0
 public InvoiceInputViewModel(IInvoiceAppService appService,
                              IPatientAppService patientApp, ICategoryAppService categoryApp,
                              IEventAggregator eventAggregator, ISettingProvider setting, IExchangeRateAppService exchangeRateApp, IServiceProvider serviceProvider)
 {
     SettingProvider          = setting;
     EventAggregator          = eventAggregator;
     _serviceProvider         = serviceProvider;
     PatientService           = patientApp;
     AppService               = appService;
     rateAppService           = exchangeRateApp;
     CategoryService          = categoryApp;
     CreateCommand            = new DelegateCommand <ICloseable>(Create);
     AddPatientCommand        = new DelegateCommand(CreatePatient);
     DeleteInvoiceLineCommand = new DelegateCommand(OnInvoiceLineDeleted);
     SelectedCommand          = new DelegateCommand <object[]>(OnItemSelected);
     AddExamCommand           = new DelegateCommand <ExamDto>(AddExam);
     Patients = new ObservableCollection <PatientDto>();
     Patients.AddRange(PatientService.GetListAsync().Result);
     Currency          = SettingProvider.GetOrNullAsync(FacCigoSettings.InvoiceCurrency).Result;
     Model             = new InvoiceModel();
     Model.ReferenceNo = AppService.NextReferenceNo(Model.InvoiceDate.Year).Result;
     Categories        = new ObservableCollection <CategoryDto>();
     Categories.AddRange(CategoryService.GetListAsync().Result);
     EventAggregator.GetEvent <PatientAddedEvent>().Subscribe(PatientAdded);
     ExchangeRate = rateAppService.CurrentExchangeRate().Result;
 }
Exemplo n.º 4
0
 public ProductsController(IProductAppService proAppservice, ISupplierAppService supAppService, ICategoryAppService catAppService, ErpDemoDBContext context)
 {
     _proAppservice = proAppservice;
     _supAppService = supAppService;
     _catAppService = catAppService;
     _context       = context;
 }
Exemplo n.º 5
0
 public MainFormService(ICategoryAppService service, IUserDisplayMessageService messageService)
 {
     _service        = service;
     _messageService = messageService;
     _fallbackDish   = new DishViewModel {
         Name = "Bolo de Chocolate"
     };
 }
 public TodosController(ITodoAppService todoAppService,
                        ICategoryAppService CategoryAppService,
                        IMapper mapper)
 {
     _todoAppService     = todoAppService;
     _CategoryAppService = CategoryAppService;
     _mapper             = mapper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CategoryController"/> class.
 ///     Contrutor padrão do CategoryController.
 /// </summary>
 /// <param name="appService">Application de serviço</param>
 /// <param name="loggerFactory">Factory de gerenciamento de logs</param>
 public CategoryController(
     ICategoryAppService appService,
     ILoggerFactory loggerFactory)
     : base(appService)
 {
     this.appService = appService;
     this.logger     = loggerFactory.CreateLogger <CategoryController>();
 }
Exemplo n.º 8
0
 public BlogController(ICategoryAppService categoryAppService, IArticleAppService articleAppService,
                       IAuthorAppService authorAppService, ISearchService searchService)
 {
     _categoryAppService = categoryAppService;
     _articleAppService  = articleAppService;
     _authorAppService   = authorAppService;
     _searchService      = searchService;
 }
Exemplo n.º 9
0
 public LayoutController(IProductAppService productAppService,
                         ICategoryAppService categoryAppService,
                         ICompanyAppService companyAppService,
                         ISeoAppService seoAppService) : base(seoAppService)
 {
     _companyAppService  = companyAppService;
     _productAppService  = productAppService;
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 10
0
 public CategoryController(
     IEntityBaseRepository <Category> categoryRepository,
     ICategoryAppService categoryAppService,
     IErrorAppService errorAppService)
     : base(errorAppService)
 {
     this.categoryRepository = categoryRepository;
     this.categoryAppService = categoryAppService;
 }
Exemplo n.º 11
0
 public CategoryController(
     ISlideShowAppService slideShowAppService,
     ICategoryAppService categoryAppService,
     ICustomerAppService customerAppService)
 {
     CategoryAppService = categoryAppService;
     CustomerAppService = customerAppService;
     // slideShowAppService.SaveAsync(null).GetAwaiter();
 }
Exemplo n.º 12
0
 public CreateModalModel(
     ICategoryAppService categoryAppService,
     IProductDetailAppService productDetailAppService,
     IProductAppService service)
 {
     _categoryAppService      = categoryAppService;
     _productDetailAppService = productDetailAppService;
     _service = service;
 }
Exemplo n.º 13
0
 public ProductsController(IProductAppService productAppService,
                           ICategoryAppService categoryAppService,
                           ISupplierAppService supplierAppService,
                           IProductSlideImageAppService productSlideImageAppService)
 {
     _productAppService           = productAppService;
     _categoryAppService          = categoryAppService;
     _supplierAppService          = supplierAppService;
     _productSlideImageAppService = productSlideImageAppService;
 }
Exemplo n.º 14
0
 public CategoryController(
     IUserProvider userProvider,
     ICategoryAppService categoryAppService,
     IContactAppService contactAppService,
     INotificationHandler <DomainNotification> notificationHandler,
     IEventHandler eventHandler) : base(notificationHandler, eventHandler, userProvider)
 {
     _userProvider       = userProvider ?? throw new ArgumentNullException(nameof(userProvider));
     _categoryAppService = categoryAppService;
     _contactAppService  = contactAppService;
 }
Exemplo n.º 15
0
 public ExamInputViewModel(ICategoryAppService categoryAppService, IExamAppService examAppService, ISettingProvider setting, IEventAggregator ea)
 {
     SettingProvider = setting;
     EventAggregator = ea;
     CategoryService = categoryAppService;
     AppService      = examAppService;
     CreateCommand   = new DelegateCommand <ICloseable>(Create);
     Categories      = new ObservableCollection <CategoryDto>();
     Categories.AddRange(CategoryService.GetListAsync(new PagedAndSortedResultRequestDto()).Result.Items);
     Currency = SettingProvider.GetOrNullAsync(FacCigoSettings.PivotCurrency).Result;
 }
Exemplo n.º 16
0
 public EditModalModel(
     IProductTypeAppService productTypeAppService,
     ICategoryAppService categoryAppService,
     IProductDetailAppService productDetailAppService,
     IProductAppService service)
 {
     _productTypeAppService   = productTypeAppService;
     _categoryAppService      = categoryAppService;
     _productDetailAppService = productDetailAppService;
     _service = service;
 }
Exemplo n.º 17
0
 public OrderController(IOrderAppService orderAppService,
                         ITableServiceAppService tableServiceAppService,
                         IDishAppService dishAppService,
                         IOptionAppService optionAppService,
                         ICategoryAppService categoryAppService)
 {
     this.orderAppService = orderAppService;
     this.tableServiceAppService = tableServiceAppService;
     this.dishAppService = dishAppService;
     this.optionAppService = optionAppService;
     this.categoryAppService = categoryAppService;
 }
Exemplo n.º 18
0
        public EditModalModel(IBookmarkAppService bookAppService, ICategoryAppService categoryAppService)
        {
            _bookAppService     = bookAppService;
            _categoryAppService = categoryAppService;

            PagedAndSortedResultRequestDto input            = new PagedAndSortedResultRequestDto();
            PagedResultDto <CategoryDto>   categoryDtoPaged = _categoryAppService.GetListAsync(input).Result;

            foreach (CategoryDto item in categoryDtoPaged.Items)
            {
                CategorysItem.Add(new SelectListItem(item.Name, item.Id.ToString()));
            }
        }
Exemplo n.º 19
0
 public ArticleAppService(UserManager userManager,
                          IAbpSession session,
                          IRepository <Article> ArticleRepos,
                          IRepository <Category> categoryRepos,
                          ICategoryAppService categoryService,
                          ICacheManager cacheManager
                          )
 {
     _session         = session;
     _userManager     = userManager;
     _ArticleRepos    = ArticleRepos;
     _categoryRepos   = categoryRepos;
     _categoryService = categoryService;
     _cacheManager    = cacheManager;
 }
Exemplo n.º 20
0
 public CategoryController(ICategoryAppService service)
 {
     _service = service;
 }
Exemplo n.º 21
0
 public CategoryController(ICategoryAppService categoryAppService)
 {
     _categoryAppService = categoryAppService;
 }
 public ProductController(IProductAppService productAppService, ICategoryAppService categoryAppService)
 {
     _productAppService  = productAppService;
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 23
0
 public CategoryController(ICategoryAppService service)
 {
     _service = service;
 }
Exemplo n.º 24
0
 public StoreManagerController(IProductAppService productAppService, IOwnerAppService ownerAppService, ICategoryAppService categoryAppService)
 {
     _productAppService = productAppService;
     _ownerAppService = ownerAppService;
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 25
0
 public MyCreateModalModel(ICategoryAppService service) : base(service)
 {
 }
Exemplo n.º 26
0
 public DishController(IDishAppService dishAppService, ICategoryAppService categoryAppService)
 {
     this.dishAppService = dishAppService;
     this.categoryAppService = categoryAppService;
 }
Exemplo n.º 27
0
 public IndexModel(ICategoryAppService categoryAppService)
 {
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 28
0
 public CategoryController(ICategoryAppService catServices)
 {
     _catServices = catServices;
 }
 public ProductCategoryController(ICategoryAppService categoryAppService, IUserNavigationManager userNavigationManager) : base(userNavigationManager)
 {
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 30
0
 public OptionController(IOptionAppService optionAppService, ICategoryAppService categoryAppService)
 {
     this.optionAppService = optionAppService;
     this.categoryAppService = categoryAppService;
 }
Exemplo n.º 31
0
 public TransactionsController(ITransactionAppService transactionAppService, IAccountAppService accountAppService, ICategoryAppService categoryAppService)
 {
     _transactionAppService = transactionAppService;
     _accountAppService = accountAppService;
     _categoryAppService = categoryAppService;
 }
 public CategoryAppService_Tests()
 {
     _categoryAppService = Resolve<ICategoryAppService>();
 }
Exemplo n.º 33
0
 public CategoriesController(ICategoryAppService categoryAppService)
 {
     _categoryAppService = categoryAppService;
 }
Exemplo n.º 34
0
 public GoodsController(IRealTimeNotifier not, ICategoryAppService catServices)
 {
     _not         = not;
     _catServices = catServices;
 }
Exemplo n.º 35
0
 public CategoryAppService_Tests()
 {
     _categoryAppService = Resolve <ICategoryAppService>();
 }
Exemplo n.º 36
0
 public StoreController(ICategoryAppService categoryAppService, IProductAppService productAppService)
 {
     _categoryAppService = categoryAppService;
     _productAppService = productAppService;
 }
Exemplo n.º 37
0
 public CategoriesController(ICategoryAppService appService)
 {
     _appService = appService;
 }
Exemplo n.º 38
0
 public CategoryController(ICategoryAppService categoryAppService)
 {
     _categoryAppService = categoryAppService ?? throw new ArgumentNullException("ICategoryAppService");
 }
 public CategoryAppServiceTests()
 {
     _categoryAppService = GetRequiredService <ICategoryAppService>();
 }
Exemplo n.º 40
0
 public CategoryController(ICategoryAppService categoryAppService)
 {
     this.categoryAppService = categoryAppService;
 }