public PatientController(
     IPatientService patientService,
     IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
 {
     _patientService = patientService;
      _logger = LogManager.GetLogger(GetType().Name);
 }
Пример #2
0
        public ListingController(
           IUnitOfWorkAsync unitOfWorkAsync,
           ISettingService settingService,
           ICategoryService categoryService,
           IListingService listingService,
           IPictureService pictureService,
           IListingPictureService ListingPictureservice,
           IOrderService orderService,
           ICustomFieldService customFieldService,
           ICustomFieldCategoryService customFieldCategoryService,
           ICustomFieldListingService customFieldListingService,
           ISettingDictionaryService settingDictionaryService,
           IListingStatService ListingStatservice,
           IEmailTemplateService emailTemplateService,
           DataCacheService dataCacheService,
           SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _pictureService = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService = orderService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService = customFieldListingService;
            _ListingStatservice = ListingStatservice;
            _emailTemplateService = emailTemplateService;
            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
 public WorkProcessDetailsController(IStationService stationService,IWorkProcessService workProcessService,IWorkProcessDetailService workProcessDetailService, IUnitOfWorkAsync unitOfWork)
 {
     _workProcessDetailService = workProcessDetailService;
     _unitOfWork = unitOfWork;
     _workProcessService = workProcessService;
     _stationService = stationService;
 }
 public RoleMenusController(IRoleMenuService roleMenuService, IUnitOfWorkAsync unitOfWork, IMenuItemService menuItemService, ApplicationRoleManager roleManager)
 {
     _roleMenuService = roleMenuService;
     _menuItemService = menuItemService;
     _roleManager = roleManager;
     _unitOfWork = unitOfWork;
 }
Пример #5
0
 public WeekMenuController(IUnitOfWorkAsync unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _db = _unitOfWork.GetContext();
     _weekmenuService = new MenuForWeekService(_unitOfWork.RepositoryAsync<MenuForWeek>());
     _mfdDishPriceService=new MfdDishPriceService(_unitOfWork.RepositoryAsync<MfdDishPriceRelations>());
 }
 public DepartmentController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IDepartmentBLL departmentService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _departmentService = departmentService;
 }
Пример #7
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IItemService itemService,
            IPictureService pictureService,
            IItemPictureService itemPictureService,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldItemService customFieldItemService,
            ISettingDictionaryService settingDictionaryService,
            IItemStatService itemStatService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _itemService = itemService;
            _pictureService = pictureService;
            _itemPictureService = itemPictureService;
            _orderService = orderService;            
            
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldItemService = customFieldItemService;
            _itemStatService = itemStatService;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #8
0
 public HomeController(IQuickLinkService quickLinkService, IUnitOfWorkAsync unitOfWork, IArticleService articleService, IArticleCategoryService articleCategoryService)
 {
     this.quickLinkService = quickLinkService;
     this.articleService = articleService;
     this.unitOfWork = unitOfWork;
     this.articleCategoryService = articleCategoryService;
 }
 public TestWeekMenuController()
 {
     _unitOfWork = new UnitOfWork(new ApplicationDbContext());
     _db = _unitOfWork.GetContext();
     _weekMenuService = new MenuForWeekService(_unitOfWork.RepositoryAsync<MenuForWeek>());
     _userManager = new ApplicationUserManager(new UserStore<User>(_unitOfWork.GetContext()));
 }
Пример #10
0
        /// <summary>
        /// Public constructor to initialize product service instance
        /// </summary>

        public DataController(
            IUnitOfWorkAsync unitOfWorkAsync,
            IControlService ControlService)
        {
            _unitOfWorkAsync = unitOfWorkAsync;
            _ControlService = ControlService;
        }
 public CustomerController(
     IUnitOfWorkAsync unitOfWorkAsync,
     ICustomerService customerService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _customerService = customerService;
 }
 public PersonServiceController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IPersonBukService personBukService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _personBukService = personBukService;
 }
 public ProjectRoleController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IProjectRoleBLL projectRoleService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _projectRoleService = projectRoleService;
 }
Пример #14
0
 public FileUploadController(IStationService stationservice,IProcessStepService setpservice,ISKUService sKUService, IBOMComponentService iBOMComponentService, IUnitOfWorkAsync unitOfWork)
 {
     _iBOMComponentService = iBOMComponentService;
     _sKUService  = sKUService;
     _unitOfWork = unitOfWork;
     _setpservice = setpservice;
     _stationservice = stationservice;
 }
Пример #15
0
 public UserProfileService(IUnitOfWorkAsync unitOfWork, IUserProfileRepository repository,
     IUtilityService utilityService,IUserProfileRepository userProfileRepository)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
     _utilityService = utilityService;
     _userProfileRepository = userProfileRepository;
 }
Пример #16
0
 public MigrationTest()
 {
     _unitOfWork = new UnitOfWork(new ApplicationDbContext());
     dataContext = _unitOfWork.GetContext();
     IRepositoryAsync<MenuForWeek> menuRepo = _unitOfWork.RepositoryAsync<MenuForWeek>();
     _menuForWeekService = new MenuForWeekService(menuRepo);
     _userManager = new ApplicationUserManager(new UserStore<User>(dataContext));
 }
 public EmployeeOrderApiController(IUnitOfWorkAsync unitOfWorkAsync)
 {
     _unitOfWork = unitOfWorkAsync;
     _db = unitOfWorkAsync.GetContext();
     _weekMenuService = new MenuForWeekService(_unitOfWork.RepositoryAsync<MenuForWeek>());
     _orderMenuService = new OrderMenuService(_unitOfWork.RepositoryAsync<WeekOrderMenu>());
     _weekPaimentService = new WeekPaimentService(_unitOfWork.RepositoryAsync<WeekPaiment>());
 }
Пример #18
0
 public GroupController(
     IUnitOfWorkAsync unitOfWork,
     IStoredProcedureService storedProcedureService,
     IGroupService groupService)
 {
     _unitOfWork = unitOfWork;
     _groupService = groupService;
     _storedProcedureService = storedProcedureService;
 }
Пример #19
0
 public ProjectController(IProjectService projectService, IUnitOfWorkAsync unitOfWork,
     IAreaService areaService, IProjectTypeService projectTypeService, IPriceService priceService)
 {
     _projectService = projectService;
     _unitOfWork = unitOfWork;
     _AreaService = areaService;
     _ProjectTypeService = projectTypeService;
     _PriceService = priceService;
 }
Пример #20
0
 public DisqusController(
     ISettingDictionaryService settingDictionaryService,
     IUnitOfWorkAsync unitOfWorkAsync,
     DataCacheService dataCacheService)
 {
     _settingDictionaryService = settingDictionaryService;
     _unitOfWorkAsync = unitOfWorkAsync;
     _dataCacheService = dataCacheService;
 }
Пример #21
0
 public UserController(IUnitOfWorkAsync unitOfWorkAsync,
     IRepositoryAsync<Account> accountRepositoryAsync, 
     IRepositoryAsync<Employee> employeeRepositoryAsync,
     IRepositoryAsync<Role> roleRepositoryAsync)
 {
     _accountRepositoryAsync = accountRepositoryAsync;
     _employeeRepositoryAsync = employeeRepositoryAsync;
     _roleRepositoryAsync = roleRepositoryAsync;
     _unitOfWorkAsync = unitOfWorkAsync;
 }
 public EmployeeController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IEmployeeBLL employeeService,
     IDepartmentBLL departmentService,
     IDepartmentRoleBLL departmentRoleService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _employeeService = employeeService;
     _departmentService = departmentService;
     _departmentRoleService = departmentRoleService;
 }
 public UserManagerModel(
     IEmployeeLoginBLL employeeLoginService,
     IEmployeeBLL employeeService,
     IUnitOfWorkAsync unitOfWorkAsync,
     IDepartmentRoleBLL departmentRoleService,
     IDepartmentBLL departmentService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _employeeLoginService = employeeLoginService;
     _employeeService = employeeService;
     _departmentRoleService = departmentRoleService;
 }
Пример #24
0
        protected void Page_Load(object sender, EventArgs e)
        {
            uow = new UnitOfWork(context);
            repoUsers = uow.Repository<Users>();
            IQueryable<Users> lst = from r in repoUsers.AsNoTracking()
                      where r.UserName == "sai"
                      select r;

            foreach (Users user in lst)
            {

            }
        }
 public EmployeeProjectController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IProjectRoleBLL projectRoleService,
     IProjectBLL projectService,
     IEmployeeBLL employeeService,
     IEmployeeProjectsBLL employeeProjectsService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _projectService = projectService;
     _projectRoleService = projectRoleService;
 _employeeService = employeeService;
 _employeeProjectsService = employeeProjectsService;
 }
 public AuthenticationController(
     IDepartmentBLL departmentService,
     IDepartmentRoleBLL departmentRoleService,
     IEmployeeBLL employeeService,
     IUnitOfWorkAsync unitOfWorkAsync,
     IEmployeeLoginBLL employeeLoginService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _employeeLoginService = employeeLoginService;
     _employeeService = employeeService;
     _departmentRoleService = departmentRoleService;
     _departmentService = departmentService;
 }
Пример #27
0
        public StripePlugin(
            ISettingDictionaryService settingDictionaryService,
            IUnitOfWorkAsync unitOfWorkAsync)
        {
            _settingDictionaryService = settingDictionaryService;
            _unitOfWorkAsync = unitOfWorkAsync;

            AddRoute(HookName.Payment, new RouteValueDictionary
                {
                    { "action", "Payment" }, 
                    { "controller", "PaymentStripe" }, 
                    { "namespaces", "Plugin.Payment.Stripe.Controllers"},
                    { "area", null},
                    { "hookName", HookName.Payment}
                });

            AddRoute(HookName.PaymentSetting, new RouteValueDictionary
                {
                    { "action", "PaymentSetting" }, 
                    { "controller", "PaymentStripe" }, 
                    { "namespaces", "Plugin.Payment.Stripe.Controllers"},
                    { "area", null},
                    { "hookName", HookName.PaymentSetting}
                });

            AddRoute(HookName.Transaction, new RouteValueDictionary
                {
                    { "action", "Transaction" }, 
                    { "controller", "PaymentStripe" }, 
                    { "namespaces", "Plugin.Payment.Stripe.Controllers"},
                    { "area", null},
                    { "hookName", HookName.Transaction}
                });

            AddRoute(HookName.TransactionOverview, new RouteValueDictionary
                {
                    { "action", "TransactionOverview" }, 
                    { "controller", "PaymentStripe" }, 
                    { "namespaces", "Plugin.Payment.Stripe.Controllers"},
                    { "area", null},
                    { "hookName", HookName.TransactionOverview}
                });

            AddRoute(HookName.Configuration, new RouteValueDictionary {                 
                { "action", "Configure" }, 
                { "controller", "PaymentStripe" }, 
                { "namespaces", "Plugin.Payment.Stripe.Controllers" }, 
                { "area", null } 
            });
        }
Пример #28
0
 public LgaService(IUnitOfWorkAsync unitOfWork, ILgaRepository repository, IUserProfileService userProfileService,
     IUserProfileRepository userProfileRepository, IUtilityService utilityService,
     IApprovalService approvalService, IWorkflowService workflowService, IWorkFlowSetupService workFlowSetupService)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
     _userProfileService = userProfileService;
     _userProfileRepository = userProfileRepository;
     _utilityService = utilityService;
     _approvalService = approvalService;
     _workflowService = workflowService;
     _workFlowSetupService = workFlowSetupService;
     Mapper.CreateMap<UserProfile, UserProfileItem>();
 }
Пример #29
0
        public static List<Dish> GetDishes(IUnitOfWorkAsync unitOfWork)
        {
            Dish[] dishArray = unitOfWork.GetContext().Dishes.ToArray();
            string[] categories = MapHelper.GetCategoriesStrings(unitOfWork);

            Func<string, IEnumerable<Dish>, int> countDish = (str, list) =>
            {
                int coun = list.Count(el => string.Equals(el.DishType.Category, str));
                return coun;
            };
            Dictionary<string, int> catCount = categories.ToDictionary(cat => cat, count => countDish(count, dishArray));
            Func<List<Dish>> getDishes = () =>
            {
                return catCount.Select(pair => dishArray.Where(d => string.Equals(d.DishType.Category, pair.Key)).ElementAt(Rand.Next(pair.Value))).ToList();
            };

            return getDishes();
        }
Пример #30
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService listingStatservice,
            IMessageService messageService,
            IMessageThreadService messageThreadService,
            IMessageParticipantService messageParticipantService,
            IMessageReadStateService messageReadStateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _pictureService = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService = orderService;

            _messageService = messageService;
            _messageThreadService = messageThreadService;
            _messageParticipantService = messageParticipantService;
            _messageReadStateService = messageReadStateService;

            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService = customFieldListingService;
            _listingStatservice = listingStatservice;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #31
0
 public ChangeOrSetAmountCommandHandler(IUnitOfWorkAsync unitOfWorkAsync
                                        , IRepositoryAsync <PaymentTransactionState, Guid> aggregateRootRepository
                                        , IObjectMapper objectMapper) : base(unitOfWorkAsync, aggregateRootRepository, objectMapper)
 {
 }
 public Service_Account(IUnitOfWorkAsync uow, ILog Logger) : base(uow)
 {
     _uow    = uow;
     _logger = Logger;
     _repo   = _uow.RepositoryAsync <tbl_User>();
 }
Пример #33
0
 protected virtual IViewRepositoryAsync <TEntity> CreateViewRepository(
     IUnitOfWorkAsync unitOfWork)
 {
     return(unitOfWork.ViewRepositoryAsync <TEntity>());
 }
 public DirectPaymentCommandHandler(IUnitOfWorkAsync unitOfWorkAsync
                                    , IRepositoryAsync <PaymentTransaction, Guid> aggregateRootRepository) : base(unitOfWorkAsync, aggregateRootRepository)
 {
 }
 public Service_GridSettings(IUnitOfWorkAsync uow, ILog Logger) : base(uow)
 {
     _uow    = uow;
     _logger = Logger;
 }
Пример #36
0
 public BackageReservationFacade(IBackageReservationService backageReservationService, IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
 {
     _backageReservationService = backageReservationService;
 }
Пример #37
0
 //private string UserName { set; get; } = "*****@*****.**";
 public HomeController(IUnitOfWorkAsync unitOfWorkAsync) : base(unitOfWorkAsync)
 {
 }
Пример #38
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Alim_FuenteRepository"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 public Alim_FuenteRepository(DbContext context, IUnitOfWorkAsync unitOfWork) : base(context, unitOfWork)
 {
 }
Пример #39
0
 public UserProfileService(IUnitOfWorkAsync unitOfWork, IRepositoryAsync <UserAccount> repository)
     : base(unitOfWork)
 {
     _repository = repository;
 }
 public ResultRepository(IDataContextAsync context, IUnitOfWorkAsync unitOfWork)
     : base(context, unitOfWork)
 {
 }
Пример #41
0
 public RequestHandler(IUnitOfWorkAsync uow, IQueryRepositoryFactory queryRepositoryFactory)
     : base(uow, queryRepositoryFactory)
 {
 }
Пример #42
0
 public IAOsController(IUnitOfWorkAsync unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
Пример #43
0
 public CustomDataController(ICustomFieldService customFieldService, ICustomDataService customDataService, ICustomListService customListService, IUnitOfWorkAsync unitOfWork)
 {
     _customDataService  = customDataService;
     _customListService  = customListService;
     _customFieldService = customFieldService;
     _unitOfWork         = unitOfWork;
 }
Пример #44
0
 public ViewBusinessRuleBase(IDataContextAsync dataContext)
 {
     this.unitOfWork = (IUnitOfWorkAsync) new OMF.EntityFramework.Ef6.UnitOfWork(dataContext);
     this.oprKeys    = this.CreateOperationKeys();
 }
Пример #45
0
 public UserService(IUnitOfWorkAsync unitOfWork, IUserRepository repository)
 {
     _unitOfWork      = unitOfWork;
     this._repository = repository;
 }
Пример #46
0
 public UserRepository(DbContext context, IUnitOfWorkAsync unitOfWork) : base(context, unitOfWork)
 {
 }
Пример #47
0
 public MemuInforController(IUnitOfWorkAsync unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
Пример #48
0
 public OrdersController(IOrderService orderService, IUnitOfWorkAsync unitOfWork)
 {
     _orderService = orderService;
     _unitOfWork   = unitOfWork;
 }
Пример #49
0
 public PolicyRepository(ApplicationDbContext context, IUnitOfWorkAsync uow)   : base(context, uow)
 {
 }
Пример #50
0
 public GameService(IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
 {
 }
 public AccountController(ApplicationUserManager userManager,
                          ISecureDataFormat <AuthenticationTicket> accessTokenFormat, IArchiveNoService archiveNoService, IUnitOfWorkAsync unitOfWork, ICustomerProfileService customerProfileService, IService <CustomerAccounnt> service, ICustomerAccounntService customerAccounntService, IHttpService httpService)
 {
     UserManager              = userManager;
     AccessTokenFormat        = accessTokenFormat;
     _archiveNoService        = archiveNoService;
     this._unitOfWork         = unitOfWork;
     _customerProfileService  = customerProfileService;
     _customerAccounntService = customerAccounntService;
     _httpService             = httpService;
 }
 public GetMyInformationAssetsUsecase(IUnitOfWorkAsync unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
Пример #53
0
 public RepositoryCached(IDataContextAsync context, IUnitOfWorkAsync unitOfWork)
     : base(context, unitOfWork)
 {
 }
Пример #54
0
 public ViewBusinessRuleBase(IUnitOfWorkAsync unitOfWork)
 {
     this.unitOfWork             = unitOfWork;
     this.businessOwnsUnitOfWork = false;
     this.oprKeys = this.CreateOperationKeys();
 }
Пример #55
0
 public EmployeesController(IUnitOfWorkAsync unitOfWorkAsync,
                            IRepositoryAsync <Employee> employeeRepositoryAsync)
 {
     _employeeRepositoryAsync = employeeRepositoryAsync;
     _unitOfWorkAsync         = unitOfWorkAsync;
 }
Пример #56
0
 public ProductionProcessesController(IProductionProcessService productionProcessService, IUnitOfWorkAsync unitOfWork)
 {
     _productionProcessService = productionProcessService;
     _unitOfWork = unitOfWork;
 }
Пример #57
0
        public UserAccountService(IServiceProvider serviceProvider, IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
        {
            _crypto = (ICrypto)serviceProvider.GetService(typeof(ICrypto));
            var settings = (IOptions <AppSettings>)serviceProvider.GetService(typeof(IOptions <AppSettings>));

            _settings = settings.Value;
            _logger   = (ILogger <UserAccountService>)serviceProvider.GetService(typeof(ILogger <UserAccountService>));

            Settings = settings.Value.Auth;

            AddEventHandler(new EmailUserAccountEventsHandler(serviceProvider));

            var accountvalidators = new UserAccountValidators();

            _usernameValidator = new Lazy <AggregateValidator <UserAccount> >(() =>
            {
                var val = new AggregateValidator <UserAccount>();
                if (!_settings.Auth.EmailIsUsername)
                {
                    val.Add(UserAccountValidation.UsernameDoesNotContainAtSign);
                    val.Add(UserAccountValidation.UsernameCanOnlyStartOrEndWithLetterOrDigit);
                    val.Add(UserAccountValidation.UsernameOnlyContainsValidCharacters);
                    val.Add(UserAccountValidation.UsernameOnlySingleInstanceOfSpecialCharacters);
                }
                val.Add(UserAccountValidation.UsernameMustNotAlreadyExist);
                val.Add(accountvalidators.UsernameValidator);
                return(val);
            });

            _emailValidator = new Lazy <AggregateValidator <UserAccount> >(() =>
            {
                var val = new AggregateValidator <UserAccount>
                {
                    UserAccountValidation.EmailIsRequiredIfRequireAccountVerificationEnabled,
                    UserAccountValidation.EmailIsValidFormat,
                    UserAccountValidation.EmailMustNotAlreadyExist,
                    accountvalidators.EmailValidator
                };
                return(val);
            });

            _phoneNumberValidator = new Lazy <AggregateValidator <UserAccount> >(() =>
            {
                var val = new AggregateValidator <UserAccount>
                {
                    UserAccountValidation.PhoneNumberIsRequiredIfRequireAccountVerificationEnabled,
                    UserAccountValidation.PhoneNumberMustNotAlreadyExist,
                    accountvalidators.PhoneNumberValidator
                };
                return(val);
            });

            _passwordValidator = new Lazy <AggregateValidator <UserAccount> >(() =>
            {
                var val = new AggregateValidator <UserAccount>
                {
                    UserAccountValidation.PasswordMustBeDifferentThanCurrent,
                    accountvalidators.PasswordValidator
                };
                return(val);
            });
        }
Пример #58
0
 public LoginController(IUnitOfWorkAsync iUnitOfWorkAsync,
                        IServiceUser iServiceUser)
 {
     this.iUnitOfWorkAsync = iUnitOfWorkAsync;
     this.iServiceUser     = iServiceUser;
 }
Пример #59
0
 public ProjectManager(IUnitOfWorkAsync unitOfWorkAsync) : base(unitOfWorkAsync)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
 }
Пример #60
0
 public CommandHandlerBase(IUnitOfWorkAsync unitOfWorkAsync
                           , IRepositoryAsync <TAggregateRoot, int> aggregateRootRepository
                           , IObjectMapper objectMapper) : base(unitOfWorkAsync, aggregateRootRepository, objectMapper)
 {
 }