public OrganizationController(UserManager <User> userManager, IConfiguration configuration, IMediatorHandler mediator, INotificationHandler <DomainNotification> notification, IOrganizationAppService organizationAppService) : base(userManager, configuration, mediator, notification) { _organizationAppService = organizationAppService; }
public OrganizationService(IOrganizationAppService organizationAppService, IOrganizationDomainService organizationDomainService) { _organizationAppService = organizationAppService; _organizationDomainService = organizationDomainService; _applicationEnginee = new ApplicationEnginee(); }
public OrganizationAppServiceTest() { var mockMediatorHandler = new Mock <IMediatorHandler>(); var mockCurrentUserService = new Mock <ICurrentUserService>(); var mockOrganizationRepo = new Mock <IRepository <Organization, Guid> >(); //auto mapper configuration var _mockMapper = new MapperConfiguration(cfg => { cfg.AddProfile(new CustomDtoMapper()); }); var mapper = _mockMapper.CreateMapper(); organizations = new List <Organization> { new Organization { Name = "1. Organizasyon", Id = Guid.NewGuid() }, new Organization { Name = "2. Organizasyon", Id = Guid.NewGuid() } }; mockOrganizationRepo.Setup(s => s.GetAll()).Returns(organizations.AsQueryable()); _organizationAppService = new OrganizationAppService(mockMediatorHandler.Object, mapper, mockCurrentUserService.Object, mockOrganizationRepo.Object); }
public OrganizationDomainService(IOrganizationAppService organizationAppService, IRelationOrganizationEmployeeAppService relationOrganizationEmployeeAppService, IOrganizationMenuAppService organizationMenuAppService, IOrganizationElementAppService organizationElementAppService) { _organizationAppService = organizationAppService; _relationOrganizationEmployeeAppService = relationOrganizationEmployeeAppService; _organizationMenuAppService = organizationMenuAppService; _organizationElementAppService = organizationElementAppService; _applicationEnginee = new ApplicationEnginee(); }
public BaseManagementData() : base("UniCloud.Application.BaseManagementBC.DTO", UniContainer.Resolve<IQueryableUnitOfWork>()) { _userAppService = UniContainer.Resolve<IUserAppService>(); _functionItemAppService = UniContainer.Resolve<IFunctionItemAppService>(); _roleAppService = UniContainer.Resolve<IRoleAppService>(); _organizationAppService = UniContainer.Resolve<IOrganizationAppService>(); _businessLicenseAppService = UniContainer.Resolve<IBusinessLicenseAppService>(); _aircraftCabinTypeAppService = UniContainer.Resolve<IAircraftCabinTypeAppService>(); _xmlSettingAppService = UniContainer.Resolve<IXmlSettingAppService>(); }
public EmployeeDomainService(IOrganizationAppService organizationAppService, IRoleAppService roleAppService, IRelationOrganizationEmployeeAppService relationOrganizationEmployeeAppService, IRelationEmployeeRoleAppService relationEmployeeRoleAppService, IEmployeeAppService employeeAppService, IOrganizationElementAppService organizationElementAppService, IRoleElementAppService roleElementAppService, IEmployeeElementAppService employeeElementAppService, IOrganizationMenuAppService organizationMenuAppService, IRoleMenuAppService roleMenuAppService, IEmployeeMenuAppService employeeMenuAppService, IModuleElementAppService moduleElementAppService, IMenuAppService menuAppService, IModuleAppService moduleAppService) { _organizationAppService = organizationAppService; _roleAppService = roleAppService; _relationOrganizationEmployeeAppService = relationOrganizationEmployeeAppService; _relationEmployeeRoleAppService = relationEmployeeRoleAppService; _employeeAppService = employeeAppService; _organizationElementAppService = organizationElementAppService; _roleElementAppService = roleElementAppService; _employeeElementAppService = employeeElementAppService; _organizationMenuAppService = organizationMenuAppService; _roleMenuAppService = roleMenuAppService; _employeeMenuAppService = employeeMenuAppService; _moduleElementAppService = moduleElementAppService; _menuAppService = menuAppService; _moduleAppService = moduleAppService; _applicationEnginee = new ApplicationEnginee(); }
public OrganizationController(IOrganizationAppService organizationAppService) { _organizationAppService = organizationAppService; }
public OrganizationController(IOrganizationAppService orgAppSvc) { _orgAppSvc = orgAppSvc; }
public EditModalModel(IOrganizationAppService organizationAppService) { _organizationAppService = organizationAppService; }
public OrganizationController(IOrganizationAppService abpOrganizationAppService) { _abpOrganizationAppService = abpOrganizationAppService; }
public IndexModel(IOrganizationAppService organizationAppService) { _organizationAppService = organizationAppService; }
public UserDataSync() { _userAppService = UniContainer.Resolve<IUserAppService>(); _organizationApp = UniContainer.Resolve<IOrganizationAppService>(); }
public UsersController(IUserAppService _userAppService, IOrganizationAppService _orgAppService) { userAppService = _userAppService; orgAppService = _orgAppService; }
public CreateModalModel(IOrganizationAppService organizationAppService) { _organizationAppService = organizationAppService; }
public OrganizationsController(IOrganizationAppService organizationAppService, IUserAppService userAppService) { _organizationAppService = organizationAppService; _userAppService = userAppService; }
public OrganizationController(IOrganizationAppService _orgAppService) { orgAppService = _orgAppService; }
public OrganizationAppServiceTests() { _organizationAppService = GetRequiredService <IOrganizationAppService>(); _organizationRepository = GetRequiredService <IRepository <Organization, Guid> >(); }