Пример #1
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IElementServices, ElementServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <ISpeakerService, SpeakerService>();
 }
Пример #2
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IProjectServices, ProjectServices>();
     registerComponent.RegisterType <ITaskServices, TaskServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <IParentTaskServices, ParentTaskServices>();
 }
Пример #3
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IProductServices, ProductServices>();
     registerComponent.RegisterType <IDairyServices, DairyServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Пример #4
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUnitOfWork, UnitOfWork>();
     registerComponent.RegisterType <IProductServices, ProductServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Пример #5
0
 public void Setup(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserService, UserService>();
     registerComponent.RegisterType <IAccountService, AccountService>();
     registerComponent.RegisterType <IRefreshTokenService, RefreshTokenService>();
     registerComponent.RegisterType <IPostsService, PostsService>();
 }
Пример #6
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IPatientRepository, PatientRepository>();
     registerComponent.RegisterType <IDirectTrustPatientRepository, DirectTrustPatientRepository>();
     // registerComponent.RegisterType<IUnitOfwork, UnitOfWork>();
     registerComponent.RegisterType <IDirectTrustReferrerRepository, DirectTrustReferrerRepository>();
 }
        public void SetUp(IRegisterComponent registerComponent)
        {
            //registerComponent.RegisterType<IBookServices, BookServices>();
            //registerComponent.RegisterType<IUserService, UserServices>();
            //registerComponent.RegisterType<ITokenService, TokenServices>();
            registerComponent.RegisterType <IOwinSecurityService, OwinSecurityServer>();

            #region Juan
            //registerComponent.RegisterType<IAuthorServices, AuthorServices>();
            //registerComponent.RegisterType<IPeatonUserServices, PeatonUserServices>();
            //registerComponent.RegisterType<IBusinessServices, BusinessServices.Services.BusinessServices>();
            //registerComponent.RegisterType<ITestService, BusinessServices.Services.TestService>();
            //registerComponent.RegisterType<IReportPrizeService, BusinessServices.Services.ReportPrizeService>();
            registerComponent.RegisterType <ICyclesServices, CyclesServices>();
            registerComponent.RegisterType <ICareersServices, CareersServices>();



            #endregion

            #region Develop1 = Leo
            //76



            //124
            #endregion
        }
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType<ICategoryMasterService,CategoryMasterService>();
     registerComponent.RegisterType<IEmployeeMasterService,EmployeeMasterService>();
     registerComponent.RegisterType<IEmployeeLocationService,EmployeeLocationService>();
     registerComponent.RegisterType<IEmployeeSurveyService, EmployeSurveyService>();
 }
Пример #9
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <ILeadServices, LeadServices>();
     registerComponent.RegisterType <IArticleServices, ArticleServices>();
     registerComponent.RegisterType <IArticleCategoryServices, ArticleCategoryServices>();
 }
Пример #10
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <ITransactionService, TransactionService>();
     registerComponent.RegisterType <IUserService, UserService>();
     registerComponent.RegisterType <IAccountService, AccountService>();
     registerComponent.RegisterType <IBudgetService, BudgetService>();
     registerComponent.RegisterType <ICommonService, CommonService>();
 }
Пример #11
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     // if more services just dup this line with <IOtherServ, OtherServ> ?
     registerComponent.RegisterType <IProductServices, ProductServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <IBasicAuthTokenServices, BasicAuthTokenServices>();
     registerComponent.RegisterType <ITokenAuthServices, TokenAuthServices>();
 }
Пример #12
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IAuth, Auth>();
     registerComponent.RegisterType <IBackerLogic, BackerLogic>();
     registerComponent.RegisterType <IProjectLogic, ProjectLogic>();
     registerComponent.RegisterType <ICollectionLogic, CollectionLogic>();
     //registerComponent.RegisterType(typeof(IBaseLogic<>), typeof(BaseLogic<>));
     //registerComponent.RegisterTypeWithControlledLifeTime<IUnitOfWork, UnitOfWork>();
 }
Пример #13
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType<IProductServices, ProductServices>();
     registerComponent.RegisterType<IUserServices, UserServices>();
     //registerComponent.RegisterType<
     //
     //
     //
 }
Пример #14
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     //Basic Authentication Services
     registerComponent.RegisterType <IUsuarioServices, UsuarioServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     //General Services
     registerComponent.RegisterType <IFotoServices, FotoServices>();
     registerComponent.RegisterType <IInspeccionServices, InspeccionServices>();
     registerComponent.RegisterType <IOrdenServices, OrdenServices>();
 }
Пример #15
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserDataAccess, UserDataAccess>();
     registerComponent.RegisterType <IBodyDataAccess, BodyDataAccess>();
     registerComponent.RegisterType <IDocumentDataAccess, DocumentDataAccess>();
     registerComponent.RegisterType <IMarginDataAccess, MarginDataAccess>();
     registerComponent.RegisterType <IParagraphDataAccess, ParagraphDataAccess>();
     registerComponent.RegisterType <ITextDataAccess, TextDataAccess>();
     registerComponent.RegisterType <IAuditLogDataAccess, AuditLogDataAccess>();
     registerComponent.RegisterType <IStyleDataAccess, StyleDataAccess>();
     registerComponent.RegisterType <IStyleClassDataAccess, StyleClassDataAccess>();
     registerComponent.RegisterType <IFormatDataAccess, FormatDataAccess>();
 }
Пример #16
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserAuthenticationService, UserAuthenticationServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <IRoleService, RoleServices>();
     registerComponent.RegisterType <IDeceaseTypeService, PatientServices>();
     registerComponent.RegisterType <IPatientAdmissionService, PatientAdmissionService>();
     registerComponent.RegisterType <IDepartmentTypeServices, DepartmentTypeServices>();
     registerComponent.RegisterType <IDepartmentServices, DepartmentServices>();
     registerComponent.RegisterType <IDoctorServices, DoctorServices>();
     registerComponent.RegisterType <IDeceaseTypeServices, DeceaseTypeServices>();
 }
Пример #17
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <iCategoryMasterService, CategoryMasterServiceG>();
     registerComponent.RegisterType <iTitleMasterService, TitleMasterServiceG>();
     registerComponent.RegisterType <iClientRecordService, ClientRecordServiceG>();
     registerComponent.RegisterType <iDescriptionModuleService, DescriptionModuleServiceG>();
     registerComponent.RegisterType <iCouponService, CouponService>();
     registerComponent.RegisterType <iProjectDetailService, ProjectDetailService>();
     registerComponent.RegisterType <iDbManagerService, DbManagerService>();
     registerComponent.RegisterType <iBlogModuleService, BlogsModuleServiceG>();
     registerComponent.RegisterType <iTagsModuleService, TagsModuleServiceG>();
     registerComponent.RegisterType <iClientCommentService, ClientCommentServiceG>();
 }
Пример #18
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IAssetService, AssetService>();
     registerComponent.RegisterType <IBadgeService, BadgeService>();
     registerComponent.RegisterType <ICampusService, CampusService>();
     registerComponent.RegisterType <ICompanyService, CompanyService>();
     registerComponent.RegisterType <IContactService, ContactService>();
     registerComponent.RegisterType <ILocationService, LocationService>();
     registerComponent.RegisterType <ILogService, LogService>();
     registerComponent.RegisterType <IStationService, StationService>();
     registerComponent.RegisterType <IVisitorService, VisitorService>();
     registerComponent.RegisterType <IVisitService, VisitService>();
 }
Пример #19
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterTypeWithTransientLifetimeManager <IUserStore <IdentityUser, Guid>, UserStore>();
            registerComponent.RegisterTypeWithTransientLifetimeManager <IRoleStore <IdentityRole, Guid>, RoleStore>();
            registerComponent.RegisterType <WebService.IUserWebService, UserWebService>();
            // Services


            // Validators

            registerComponent.RegisterType <IValidator <RegisterUserDto>, RegisterUserValidator>();

            //  registerComponent.RegisterType<IValidator<ChangePasswordDto>, ChangePasswordValidator>();
        }
Пример #20
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterTypeWithInjectedConstructor <IUnitOfWork, UnitOfWork>("CoreApp");
            registerComponent.RegisterTypeWithTransientLifetimeManager <IUserStore <IdentityUser, Guid>, UserStore>();
            registerComponent.RegisterTypeWithTransientLifetimeManager <IRoleStore <IdentityRole, Guid>, RoleStore>();

            // Services
            registerComponent.RegisterType <ILanguageService, LanguageService>();
            registerComponent.RegisterType <IUserService, UserService>();


            // Validators
            registerComponent.RegisterType <IValidator <LanguageDto>, LanguageValidator>();
            registerComponent.RegisterType <IValidator <RegisterUserDto>, RegisterUserValidator>();
        }
Пример #21
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType <IUserLogic, UserLogic>();
            registerComponent.RegisterType <IPlayerLogic, PlayerLogic>();
            registerComponent.RegisterType <IAdminLogic, AdminLogic>();
            registerComponent.RegisterType <IStockLogic, StockLogic>();
            registerComponent.RegisterType <IStockHistoryLogic, StockHistoryLogic>();
            registerComponent.RegisterType <IStockNewsLogic, StockNewsLogic>();
            registerComponent.RegisterType <ITransactionLogic, TransactionLogic>();
            registerComponent.RegisterType <IInvitationCodeLogic, InvitationCodeLogic>();
            registerComponent.RegisterType <IPortfolioLogic, PortfolioLogic>();
            registerComponent.RegisterType <IGameSettingsLogic, GameSettingsLogic>();

            registerComponent.RegisterTypeWithControlledLifeTime <IUnitOfWork, UnitOfWork>();
        }
Пример #22
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserRepository, UserRepository>();
     registerComponent.RegisterType <IRoleRepository, RoleRepository>();
     registerComponent.RegisterType <IReviewRepository, ReviewRepository>();
     registerComponent.RegisterType <IProductRepository, ProductRepository>();
     registerComponent.RegisterType <ICategoryRepository, CategoryRepository>();
     registerComponent.RegisterType <ICartRepository, CartRepository>();
     registerComponent.RegisterType <IFieldRepository, FieldRepository>();
     registerComponent.RegisterType <ICartItemRepository, CartItemRepository>();
     registerComponent.RegisterType <IPointSystemConfigurationRepository, PointSystemConfigurationRepository>();
 }
Пример #23
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     // if more services just dup this line with <IOtherServ, OtherServ> ?
     registerComponent.RegisterType <IPlayerInfoServices, PlayerInfoServices>();
     registerComponent.RegisterType <IUserInfoServices, UserInfoServices>();
     registerComponent.RegisterType <IPoolLastYearServices, PoolLastYearServices>();
     registerComponent.RegisterType <IPastPlayerInfoServices, PastPlayerInfoServices>();
     registerComponent.RegisterType <IConfigServices, ConfigServices>();
     registerComponent.RegisterType <ITeamScheduleServices, TeamScheduleServices>();
     registerComponent.RegisterType <INewsServices, NewsServices>();
     registerComponent.RegisterType <IPlayoffPlayerInfoServices, PlayoffPlayerInfoServices>();
     registerComponent.RegisterType <IPlayoffUserInfoServices, PlayoffUserInfoServices>();
 }
Пример #24
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     //AT: Register Service components here
     registerComponent.RegisterType <IEventServices, EventServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <IEventAttendanceServices, EventAttendanceServices>();
     registerComponent.RegisterType <IEventServices, EventServices>();
     registerComponent.RegisterType <IMembershipServices, MembershipServices>();
     registerComponent.RegisterType <IMenuServices, MenuServices>();
     registerComponent.RegisterType <IAuthenticationService, AuthenticationService>();
     registerComponent.RegisterType <IHouseHoldServices, HouseHoldServices>();
 }
Пример #25
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     //AT: Register Service components here
     registerComponent.RegisterType<IEventServices, EventServices>();
     registerComponent.RegisterType<IUserServices, UserServices>();
     registerComponent.RegisterType<ITokenServices, TokenServices>();
     registerComponent.RegisterType<IEventAttendanceServices, EventAttendanceServices>();
     registerComponent.RegisterType<IEventServices, EventServices>();
     registerComponent.RegisterType<IMembershipServices, MembershipServices>();
     registerComponent.RegisterType<IMenuServices, MenuServices>();
     registerComponent.RegisterType<IAuthenticationService, AuthenticationService>();
     registerComponent.RegisterType<IHouseHoldServices, HouseHoldServices>();
 }
Пример #26
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType<IIncomeRepository, IncomeRepository>();
            registerComponent.RegisterType<IExpenditureRepository, ExpenditureRepository>();
            registerComponent.RegisterType<ITransferRepository, TransferRepository>();

            registerComponent.RegisterType<IOwnerService, OwnerService>();
            registerComponent.RegisterType<IAccountService, AccountService>();
            registerComponent.RegisterType<IIncomeService, IncomeService>();
            registerComponent.RegisterType<IExpenditureService, ExpenditureService>();
            registerComponent.RegisterType<ITransferService, TransferService>();
        }
Пример #27
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserManager, UserManager>();
     registerComponent.RegisterType <IRoleManager, RoleManager>();
     registerComponent.RegisterType <IReviewManager, ReviewManager>();
     registerComponent.RegisterType <IProductManager, ProductManager>();
     registerComponent.RegisterType <ICategoryManager, CategoryManager>();
     registerComponent.RegisterType <ICartManager, CartManager>();
     registerComponent.RegisterType <IPointSystemConfigurationManager, PointSystemConfigurationManager>();
 }
Пример #28
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IClientService, ClientService>();
     registerComponent.RegisterType <IWorkerService, WorkerService>();
     registerComponent.RegisterType <ILoginService, LogInService>();
     registerComponent.RegisterType <IBookingService, BookingService>();
     registerComponent.RegisterType <IPaymentService, PaymentService>();
     registerComponent.RegisterType <IInformService, InformService>();
     registerComponent.RegisterType <IReviewService, ReviewService>();
 }
Пример #29
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType <IClientLogic, ClientLogic>();
            registerComponent.RegisterType <IPolicyLogic, PolicyLogic>();
            registerComponent.RegisterType <IUserLogic, UserLogic>();

            registerComponent.RegisterType <IClientRepository, ClientRepository>();
            registerComponent.RegisterType <IPolicyRepository, PolicyRepository>();
            registerComponent.RegisterType <IUserRepository, UserRepository>();

            registerComponent.RegisterType <IContext, Context>();
        }
Пример #30
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <Master.IStateServices, Master.StateServices>();
     registerComponent.RegisterType <Master.IDistrictServices, Master.DistrictServices>();
     registerComponent.RegisterType <Common.IUserServices, Common.UserServices>();
     registerComponent.RegisterType <Master.IRoleServices, Master.RoleServices>();
     registerComponent.RegisterType <Master.ICategoryServices, Master.CategoryServices>();
     registerComponent.RegisterType <Vendor.IVendorServices, Vendor.VendorServices>();
 }
Пример #31
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType(typeof(IEntityService<>), typeof(EntityService<>));
     registerComponent.RegisterType(typeof(IEntityService<,>), typeof(EntityService<,>));
 }
Пример #32
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <ILeaveServices, LeaveServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Пример #33
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     // register service locator
     registerComponent.RegisterType<IServiceLocator, CustomUnityServiceLocator>();
 }
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType<IUserServices, UserServices>();
            registerComponent.RegisterType<ITokenServices, TokenServices>();

        }
Пример #35
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IPricatsEmpresaServices, PricatsEmpresaServices>();
     registerComponent.RegisterType <IUserApiServices, UserApiServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Пример #36
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <ISurveyTypeServices, SurveyTypeServices>();
     registerComponent.RegisterType <ISurveyServices, SurveyServices>();
     registerComponent.RegisterType <IAccountServices, AccountServices>();
     registerComponent.RegisterType <IAccountGroupServices, AccountGroupServices>();
     registerComponent.RegisterType <IAnswerServices, AnswerServices>();
     registerComponent.RegisterType <IAnswerPaperServices, AnswerPaperServices>();
     registerComponent.RegisterType <IChoicesServices, ChoicesServices>();
     registerComponent.RegisterType <IQuestionGroupServices, QuestionGroupServices>();
     registerComponent.RegisterType <IQuestionTypeService, QuestionTypeServices>();
     registerComponent.RegisterType <IQuestionServices, QuestionServices>();
     registerComponent.RegisterType <IRoleServives, RoleServices>();
     registerComponent.RegisterType <IRoleDetailServices, RoleDetailServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Пример #37
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUnitOfWork, UnitOfWork>();
 }
Пример #38
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType(typeof(IGenericRepository<>), typeof(GenericRepository<>));
     registerComponent.RegisterType(typeof(IGenericRepository<,>), typeof(GenericRepository<,>));
     registerComponent.RegisterType<IUnitOfWork, UnitOfWork>();
 }
Пример #39
0
        public void SetUp(IRegisterComponent registerComponent)
        {
 #if true
            //registerComponent.RegisterType<IDataContextAsync, LogqsoDataContext>();

           // registerComponent.RegisterType<IUnitOfWorkAsync, UnitOfWork>();
            //registerComponent.RegisterType<IRepositoryAsync<CatOperator>, Repository<CatOperator>>();

            registerComponent.RegisterType<ILogqsoControlContext, ContestqsoContext>();
            registerComponent.RegisterType<IControlUnitOfWorkAsync, ControlUnitOfWork>();
            registerComponent.RegisterType<IRepositoryAsync<CatOperator>, ResposituryControl<CatOperator>>();


#else
           //regisre  DbCFpntext cuz ef lib required
            //LogControlDB context = new Logqso.mvc.DataModel.LogControl.LogControlDB();

            var contextType = typeof(LogControlContext);

            //registerComponent.RegisterInstance<LogControlDB>(context);

#if true
            //MOVED FROM UI LATER
            //var contextType = typeof(LogControlContext);

            //registerComponent.RegisterInstance<IDataContextAsync>(context);
            Object[] Parms = new Object[] {
             contextType
             };
            registerComponent.RegisterTypeWithInjectionTypes<IUnitOfWorkAsync, UnitOfWork>(Parms, false);
#endif

            var uowType = typeof(IUnitOfWorkAsync);
                        registerComponent.RegisterType<IDataContextAsync, LogControlContext>();

            Object[] Parms2 = new Object[] {
             contextType,
             uowType
             };
            registerComponent.RegisterTypeWithInjectionTypes<IRepositoryAsync<CatOperator>, Repository<CatOperator>>(Parms2, false);
#endif

            //LOGQSOSATA
#if true
            //registerComponent.RegisterType<IDataContextAsync, LogqsoDataContext>();

            //registerComponent.RegisterType<IUnitOfWorkAsync, UnitOfWork>();
            //registerComponent.RegisterType<IRepositoryAsync<Log>, Repository<Log>>();
            //support for multiple DB
            registerComponent.RegisterType<ILogqsoDataContext, ContestqsoDataContext>();
            registerComponent.RegisterType<ILogUnitOfWorkAsync, LogUnitOfWork>();
            registerComponent.RegisterType<IRepositoryAsync<Log>, ResposituryLog<Log>>();
            


#else
            var contextTypeData = typeof(LogqsoDataContext);
            //registerComponent.RegisterType<IDataContextAsync, LogqsoDataContext>();
            //contextTypeData = typeof(IDataContextAsync);

            Object[] ParmsData = new Object[] {
             contextTypeData
             };
            registerComponent.RegisterTypeWithInjectionTypes<IUnitOfWorkDataAsync, UnitOfWorkData>(ParmsData, false);
            //registerComponent.RegisterTypeWithInjectionTypes<IUnitOfWorkAsync, UnitOfWork>(ParmsData, false);

            var uowTypeData = typeof(IUnitOfWorkDataAsync);

            Object[] ParmsData2 = new Object[] {
             contextTypeData,
             uowTypeData
             };
            registerComponent.RegisterTypeWithInjectionTypes<IRepositoryAsync<Log>, Repository<Log>>(ParmsData2, false);
#endif
            //IUnitOfWorkAsync UowObj = new UnitOfWork(context);
            //IRepositoryAsync<CatOperator> Repo = new Repository<CatOperator>(context, UowObj);
            //registerComponent.RegisterInstance<IRepositoryAsync<CatOperator>>(Repo);



            //var RepoType = typeof(IRepositoryAsync<CatOperator>);

            //Object[] Parms1 = new Object[] {
            // RepoType
            // };

            //registerComponent.RegisterTypeWithInjectionTypes<IControlService, ControlService>(Parms1, false);



        }
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType<IUnitOfWork, UnitOfWork.UnitOfWork>();
 }