Пример #1
0
        public ReportController(IGenericRepository <CompanyBoardMember> companyBoardMemberRepository, IMapper mapper,
                                UserManager <ApplicationUser> userManager,
                                IGenericRepository <Company> company, IGenericRepository <CompanyShare> companyShareRepository,
                                IGenericRepository <BoardofDirectorsLegalMember> boardofDirectorsRepository,
                                IGenericRepository <CompanyUser> companyUserRepository, IGenericRepository <Agent> agentRepository,
                                IGenericRepository <CompanyShareholder> companyShareholderRepository, IGenericRepository <CompanyAnnualMeeting> companyAnnualRepository, KavoshFrameWorkCore.KavoshFrameWorkContext context, IConfiguration configuration)
        {
            _companyBoardMemberRepository = companyBoardMemberRepository;
            _mapper                       = mapper;
            this.company                  = company;
            this._userManager             = userManager;
            this._companyUserRepository   = companyUserRepository;
            _companyShareRepository       = companyShareRepository;
            _boardofDirectorsRepository   = boardofDirectorsRepository;
            _agentRepository              = agentRepository;
            _companyShareholderRepository = companyShareholderRepository;
            _companyAnnualRepository      = companyAnnualRepository;

            this._context = context;
            Configuration = configuration;
        }
Пример #2
0
 public PortfoRepository(KavoshFrameWorkCore.KavoshFrameWorkContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <CompanyShareholder>();
 }
 public DomainDropDownListViewComponent(KavoshFrameWorkCore.KavoshFrameWorkContext context)
 {
     this.context = context;
 }
 public UserCompanyDropDownListViewComponent(KavoshFrameWorkCore.KavoshFrameWorkContext context)
 {
     this.context = context;
 }
Пример #5
0
 public HeaderProfileViewComponent(KavoshFrameWorkCore.KavoshFrameWorkContext context)
 {
     this.context = context;
 }
Пример #6
0
 public EmailProfileViewComponent(KavoshFrameWorkCore.KavoshFrameWorkContext context, UserManager <ApplicationUser> userManager)
 {
     this.context     = context;
     this.userManager = userManager;
 }
Пример #7
0
 public TreeRepository(KavoshFrameWorkCore.KavoshFrameWorkContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Пример #8
0
 public ApplicationUserRepository(KavoshFrameWorkCore.KavoshFrameWorkContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <ApplicationUser>();
 }