{/// <summary> /// Method for retrieving the list /// </summary> /// <param name="source">IDataManipulation interface</param> /// <param name="displayPath">Path for display in combo box</param> /// <param name="valuePath">Path for getting the value from in combo box</param> /// <param name="selected">Id of the selected item</param> /// <returns></returns> public SelectList GetList(IDataManipulation source, string valuePath, string displayPath, int selected = -1) { var all = source.GetAll().Result; //Func<SelectList> deleg = () => { // SelectList res = selected == -1 ? new SelectList(all, displayPath, valuePath) : new SelectList(all, displayPath, valuePath, selected); // return res; //}; // var t1 = new Task<SelectList>(deleg); SelectList res = selected == -1 ? new SelectList(all, valuePath, displayPath) : new SelectList(all, valuePath, displayPath, selected); return(res); }
public CustomerAccProfileController() { _ICustomerAccProfileService = new CustomerAccProfileService(); _IDataManipulation = new DataManipulation(); }
public TransactionTemplateController() { _ITransactionTemplateService = new TransactionTemplateService(); _IDataManipulation = new DataManipulation(); }
public AccCategoryController() { _IAccCategoryService = new AccCategoryService(); _IDataManipulation = new DataManipulation(); }
public ManagerCategoryController() { _IManagerCategoryService = new ManagerCategoryService(); _IDataManipulation = new DataManipulation(); }
public CityInfoController() { _ICityInfoService = new CityInfoService(); _IDataManipulation = new DataManipulation(); }
public LedgerController() { _IChannelLedgerService = new LedgerService(); _IDataManipulation = new DataManipulation(); }
public AccTypeController() { _IAccTypeService = new AccTypeService(); _IDataManipulation = new DataManipulation(); }
public ManagerTypeController() { _IManagerTypeService = new ManagerTypeService(); _IDataManipulation = new DataManipulation(); }
public AccMasterController() { _IAccInfoService = new AccMasterService(); _IDataManipulation = new DataManipulation(); }
public FundTransferController() { _IFundTransferService = new FundTransferService(); _IDataManipulation = new DataManipulation(); }
public ChannelAccProfileController() { _IChannelAccProfileService = new ChannelAccProfileService(); _IDataManipulation = new DataManipulation(); }
public CusTypeController() { _ICusTypeService = new CusTypeService(); _IDataManipulation = new DataManipulation(); }
public DepartmentController() { _IDepartmentService = new DepartmentService(); _IDataManipulation = new DataManipulation(); }
public ReportConfigMasterController() { _IReportConfigarationService = new ReportConfigarationService(); _IDataManipulation = new DataManipulation(); }
public CommissionSetupController() { _ICommissionInfoService = new CommissionInfoService(); _IDataManipulation = new DataManipulation(); }
public BranchInfoController() { _IBranchInfoService = new BranchInfoService(); _IDataManipulation = new DataManipulation(); }
public ChargeRateMethodController() { _IChargeRateMethodService = new ChargeRateMethodService(); _IDataManipulation = new DataManipulation(); }
public FileUploadController() { _IFile_UploadService = new FileUploadService(); _IDataManipulation = new DataManipulation(); }
public TransactionRulesController() { _ITransactionRulesService = new TransactionRulesService(); _IDataManipulation = new DataManipulation(); }
public ChargeActTypeController() { _IChargeActTypeService = new ChargeActTypeService(); _IDataManipulation = new DataManipulation(); }
public EODController() { _IEODService = new EODService(); _IDataManipulation = new DataManipulation(); }
public USBReportingFieldController() { _IUSBReportingFieldService = new USBReportingFieldService(); _IDataManipulation = new DataManipulation(); }
public MenuController() { _IDataManipulation = new DataManipulation(); }
public DesignationController() { _IDesignationService = new DesignationService(); _IDataManipulation = new DataManipulation(); }
public PSInfoController() { _IPSInfoService = new PSInfoService(); _IDataManipulation = new DataManipulation(); }
public CashInController() { _ICashInService = new CashInService(); _IDataManipulation = new DataManipulation(); }
public UserActivityLogController() { _IUserActivityLogService = new UserActivityLogService(); _IDataManipulation = new DataManipulation(); }
public DistrictInfoController() { _IDistrictInfoService = new DistrictInfoService(); _IDataManipulation = new DataManipulation(); }
public ReportController() { _IReportService = new ReportService(); _IDataManipulation = new DataManipulation(); }