public CategoryController(ICategoryAppService categoryAppService, INotificationHandler <DomainNotification> notifications, IUser user, IMediatorHandler mediator) : base(notifications, mediator, user) { _categoryAppService = categoryAppService; }
public DetailController(IStoreAppService appService, ICategoryAppService categoryAppService, ILocationAppService locationAppService, IProvinceAppService provinceAppService) { _storeAppService = appService; _categoryAppService = categoryAppService; _locationAppService = locationAppService; _provinceAppService = provinceAppService; }
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; }
public ProductsController(IProductAppService proAppservice, ISupplierAppService supAppService, ICategoryAppService catAppService, ErpDemoDBContext context) { _proAppservice = proAppservice; _supAppService = supAppService; _catAppService = catAppService; _context = context; }
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>(); }
public BlogController(ICategoryAppService categoryAppService, IArticleAppService articleAppService, IAuthorAppService authorAppService, ISearchService searchService) { _categoryAppService = categoryAppService; _articleAppService = articleAppService; _authorAppService = authorAppService; _searchService = searchService; }
public LayoutController(IProductAppService productAppService, ICategoryAppService categoryAppService, ICompanyAppService companyAppService, ISeoAppService seoAppService) : base(seoAppService) { _companyAppService = companyAppService; _productAppService = productAppService; _categoryAppService = categoryAppService; }
public CategoryController( IEntityBaseRepository <Category> categoryRepository, ICategoryAppService categoryAppService, IErrorAppService errorAppService) : base(errorAppService) { this.categoryRepository = categoryRepository; this.categoryAppService = categoryAppService; }
public CategoryController( ISlideShowAppService slideShowAppService, ICategoryAppService categoryAppService, ICustomerAppService customerAppService) { CategoryAppService = categoryAppService; CustomerAppService = customerAppService; // slideShowAppService.SaveAsync(null).GetAwaiter(); }
public CreateModalModel( ICategoryAppService categoryAppService, IProductDetailAppService productDetailAppService, IProductAppService service) { _categoryAppService = categoryAppService; _productDetailAppService = productDetailAppService; _service = service; }
public ProductsController(IProductAppService productAppService, ICategoryAppService categoryAppService, ISupplierAppService supplierAppService, IProductSlideImageAppService productSlideImageAppService) { _productAppService = productAppService; _categoryAppService = categoryAppService; _supplierAppService = supplierAppService; _productSlideImageAppService = productSlideImageAppService; }
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; }
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; }
public EditModalModel( IProductTypeAppService productTypeAppService, ICategoryAppService categoryAppService, IProductDetailAppService productDetailAppService, IProductAppService service) { _productTypeAppService = productTypeAppService; _categoryAppService = categoryAppService; _productDetailAppService = productDetailAppService; _service = service; }
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; }
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())); } }
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; }
public CategoryController(ICategoryAppService service) { _service = service; }
public CategoryController(ICategoryAppService categoryAppService) { _categoryAppService = categoryAppService; }
public ProductController(IProductAppService productAppService, ICategoryAppService categoryAppService) { _productAppService = productAppService; _categoryAppService = categoryAppService; }
public StoreManagerController(IProductAppService productAppService, IOwnerAppService ownerAppService, ICategoryAppService categoryAppService) { _productAppService = productAppService; _ownerAppService = ownerAppService; _categoryAppService = categoryAppService; }
public MyCreateModalModel(ICategoryAppService service) : base(service) { }
public DishController(IDishAppService dishAppService, ICategoryAppService categoryAppService) { this.dishAppService = dishAppService; this.categoryAppService = categoryAppService; }
public IndexModel(ICategoryAppService categoryAppService) { _categoryAppService = categoryAppService; }
public CategoryController(ICategoryAppService catServices) { _catServices = catServices; }
public ProductCategoryController(ICategoryAppService categoryAppService, IUserNavigationManager userNavigationManager) : base(userNavigationManager) { _categoryAppService = categoryAppService; }
public OptionController(IOptionAppService optionAppService, ICategoryAppService categoryAppService) { this.optionAppService = optionAppService; this.categoryAppService = categoryAppService; }
public TransactionsController(ITransactionAppService transactionAppService, IAccountAppService accountAppService, ICategoryAppService categoryAppService) { _transactionAppService = transactionAppService; _accountAppService = accountAppService; _categoryAppService = categoryAppService; }
public CategoryAppService_Tests() { _categoryAppService = Resolve<ICategoryAppService>(); }
public CategoriesController(ICategoryAppService categoryAppService) { _categoryAppService = categoryAppService; }
public GoodsController(IRealTimeNotifier not, ICategoryAppService catServices) { _not = not; _catServices = catServices; }
public CategoryAppService_Tests() { _categoryAppService = Resolve <ICategoryAppService>(); }
public StoreController(ICategoryAppService categoryAppService, IProductAppService productAppService) { _categoryAppService = categoryAppService; _productAppService = productAppService; }
public CategoriesController(ICategoryAppService appService) { _appService = appService; }
public CategoryController(ICategoryAppService categoryAppService) { _categoryAppService = categoryAppService ?? throw new ArgumentNullException("ICategoryAppService"); }
public CategoryAppServiceTests() { _categoryAppService = GetRequiredService <ICategoryAppService>(); }
public CategoryController(ICategoryAppService categoryAppService) { this.categoryAppService = categoryAppService; }