public PositionTypeServiceController(IEntityListLoader <PositionType> businessService , IPositionMappingBS positionMappingBS , IEntityListLoader <ElitePosition> elitePositionListLoader) { this.businessService = businessService; this.positionMappingBS = positionMappingBS; this.elitePositionListLoader = elitePositionListLoader; }
public AccountServiceController(IAppSettingManager appSettingManager , IEntityListLoader <Role> roleBusinessService , IUserBS userBusinessService , ApplicationUserManager userManager , ApplicationSignInManager signInManager , IAuthenticationManager authenticationManager) { this.appSettingManager = appSettingManager; this.roleBusinessService = roleBusinessService; this.userBusinessService = userBusinessService; _userManager = userManager; _signInManager = signInManager; this.authenticationManager = authenticationManager; this.roleBusinessService = roleBusinessService; }
public async Task ExportToExcelOverViewRept() { //Arrange int year = 1397; int month = 10; IEntityListLoader <BranchPromotion> branchPromotionLoader = _kernel.Get <IEntityListLoader <BranchPromotion> >(); var entity = await branchPromotionLoader.LoadListAsync(x => x.Year == year && x.Month == month , includes : x => new { x.Branch }, orderBy : x => x.OrderBy(y => y.Branch.Order)); if (entity.ReturnStatus == false) { Assert.Fail(entity.ReturnMessage.ConcatAll()); } var config = new MapperConfiguration(cfg => { cfg.AddProfile(new PromotionReportMapperProfile()); }); var mapper = config.CreateMapper(); var dataModelView = mapper.Map <List <BranchPromotionViewModel> >(entity.ResultValue); string caption = $"{month} ماه - {year} عملکرد نهایی سال"; var excelTemplate = @"D:\Projects\Elite\Source\Neutrino\Neutrino.Portal\Views\Promotion\overviewrpt\OverviewExcelTemplate.html"; ExportToExcel.GetExcelFile <BranchPromotionViewModel>(dataModelView, null, excelTemplate, caption); }
public GoalGoodsCategoryTypeServiceController(IEntityListLoader <GoalGoodsCategoryType> businessService) { this.businessService = businessService; }
public RewardTypeServiceController(IEntityListLoader <RewardType> businessService) { this.businessService = businessService; }
public CondemnationTypeServiceController(IEntityListLoader <CondemnationType> businessService) { this.businessService = businessService; }
public CompanyServiceController(IEntityListLoader <Company> businessService) { this.businessService = businessService; }
public MemberReceiptJob() : base() { businessService = NinjectContainer.Resolve <IMemberReceiptBS>(); memberListLoader = NinjectContainer.Resolve <IEntityListLoader <Member> >(); }
public GlobalTriggerListener() { dataSyncStatusDataService = NinjectContainer.Resolve <IEntityListLoader <DataSyncStatus> >(); }
public AppMenuServiceController(IEntityListLoader <AppMenu> appMenuLoader) { this.appMenuLoader = appMenuLoader; }
public BranchGoalServiceController(IBranchGoalBS businessService , IEntityListLoader <Goods> goodsListLoader) { this.businessService = businessService; this.goodsListLoader = goodsListLoader; }
public BranchServiceController(IEntityListLoader <Branch> branchListLoader , IEntityLoader <Branch> branchLoader) { this.branchListLoader = branchListLoader; this.branchLoader = branchLoader; }
public GoodsServiceController(IEntityListLoader <Goods> lstLoader , IEntityListByPagingLoader <Goods> lstByPagingLoader) { this.lstLoaderBs = lstLoader; this.lstByPagingLoaderBs = lstByPagingLoader; }