public BaseApiController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo) { _strepo = strepo; _ctrepo = ctrepo; _adrepo = adrepo; _ifrepo = ifrepo; }
public void Dispose() { if (channel != null) { channel.Dispose(); channel = null; } }
public AccountClient(IAccountRepository accountRepository, IAccountEntityService accountEntityService, ICompanyEntityService companyEntityService, IEmployeeEntityService employeeEntityService, IAddressService addressService, IFeeScheduleService feeScheduleService) { _accountRepository = accountRepository; _accountEntityService = accountEntityService; _companyEntityService = companyEntityService; _employeeEntityService = employeeEntityService; _addressService = addressService; _feeScheduleService = feeScheduleService; }
public List <FeeSchedule> GetFeeSchedules(Account account) { IFeeScheduleService fs_service = _service_factor.CreateClient <IFeeScheduleService>(); using (fs_service) { try { var fs_list = fs_service.GetFeeSchedulesByAccountAsync(account); return(new List <FeeSchedule>(fs_list.Result)); } catch { return(new List <FeeSchedule>()); } } }
public FeeScheduleClient(EndpointConfiguration endpoint) { channel = new ChannelFactory <IFeeScheduleService>(GetBindingForEndpoint(EndpointConfigurationType.NetTcpBinding), GetEndpointAddress(endpoint)).CreateChannel(); }
public FeeScheduleClient(string endpoint) { channel = new ChannelFactory <IFeeScheduleService>(endpoint).CreateChannel(); }
public ScholarshipController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo, IFeeScheduleDtlService ifsdrepo, IScholarshipService ischrepo, IScholarshipdtlService ischdrepo) : base(strepo, ctrepo, adrepo, ifrepo) { _ischrepo = ischrepo; _ischdrepo = ischdrepo; }
public FeeScheduleController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo) : base(strepo, ctrepo, adrepo, ifrepo) { }
public InvoiceController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo, IFeeScheduleDtlService ifsdrepo, IInvoiceService iinvsrepo) : base(strepo, ctrepo, adrepo, ifrepo) { _ifsdrepo = ifsdrepo; _iinvsrepo = iinvsrepo; }
public SessionTermController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo, ISessionService issrepo, SessionDTLService isdrepo) : base(strepo, ctrepo, adrepo, ifrepo) { _issrepo = issrepo; _isdrepo = isdrepo; }
public InventoryController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo, IInventoryService irepo, ILedgerCOAService ilcrepo) : base(strepo, ctrepo, adrepo, ifrepo) { _irepo = irepo; _ilcrepo = ilcrepo; }
public SystemController(IStudentService strepo, ICodeTypeService ctrepo, IAddressService adrepo, IFeeScheduleService ifrepo, IFeeScheduleDtlService fsdrepo) : base(strepo, ctrepo, adrepo, ifrepo) { //_fsdrepo = fsdrepo; }