public async Task <Result <CommitmentsSearchReturnEnt> > Search([FromBody] CommitmentsSearchArg arg) { Result <CommitmentsSearchReturnEnt> r = null; await Task.Run(() => { r = ResultRunner <CommitmentsSearchReturnEnt> .Run(delegate() { return(OVPRBus.Search(arg)); }); }); return(r); }
public async Task <Result <usp_16a_GetProposalDetailByPropNo_Ent> > GetProposalDetailByPropNo(string proposalNum) { Result <usp_16a_GetProposalDetailByPropNo_Ent> r = null; await Task.Run(() => { r = ResultRunner <usp_16a_GetProposalDetailByPropNo_Ent> .Run(delegate() { return(OVPRBus.GetProposalDetailByPropNo(proposalNum)); }); }); return(r); }
public async Task <Result <GetSponsorsEnt> > GetSponsorsByCampus(int CampusPK, string name, string SponsorNameSearch, int?EnsureExists_SponsorPK) { Result <GetSponsorsEnt> r = null; await Task.Run(() => { r = ResultRunner <GetSponsorsEnt> .Run(delegate() { return(DropDownBus.usp_11_Sponsor_GetSponsorsByCampus(CampusPK, SponsorNameSearch, EnsureExists_SponsorPK)); }); }); return(r); }
public async Task <Result <string> > GetCommitmentStatus(int Commitment_PK) { Result <string> r = null; await Task.Run(() => { r = ResultRunner <string> .Run(delegate() { return(OVPRBus.GetCommitmentStatusByCommitPK(Commitment_PK)); }); }); return(r); }
public async Task <Result <List <usp_08_PaymentStatus_GetStatusesEnt> > > GetStatuses() { Result <List <usp_08_PaymentStatus_GetStatusesEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <usp_08_PaymentStatus_GetStatusesEnt> > .Run(delegate() { return(DropDownBus.usp_08_PaymentStatus_GetStatuses()); }); }); return(r); }
public async Task <Result <List <usp_10_Department_GetDeptsByCampusSchoolEnt> > > GetDeptsByCampusSchool(int CampusPK, int SchoolPK, int?ensureExists_DeptPK) { Result <List <usp_10_Department_GetDeptsByCampusSchoolEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <usp_10_Department_GetDeptsByCampusSchoolEnt> > .Run(delegate() { return(DropDownBus.usp_10_Department_GetDeptsByCampusSchool(CampusPK, SchoolPK, ensureExists_DeptPK)); }); }); return(r); }
public async Task <Result <List <usp_05a_School_GetSchoolByCampusEnt> > > GetSchoolByCampus(int?CampusPK) { Result <List <usp_05a_School_GetSchoolByCampusEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <usp_05a_School_GetSchoolByCampusEnt> > .Run(delegate() { return(DropDownBus.usp_05a_School_GetSchoolByCampus(CampusPK)); }); }); return(r); }
public async Task <Result <List <usp_07_CommittmentType_GetTypesEnt> > > GetTypes() { Result <List <usp_07_CommittmentType_GetTypesEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <usp_07_CommittmentType_GetTypesEnt> > .Run(delegate() { return(DropDownBus.usp_07_CommittmentType_GetTypes()); }); }); return(r); }
public async Task <Result <List <usp_05_Campus_GetCampus_Ent> > > GetCampus() { Result <List <usp_05_Campus_GetCampus_Ent> > r = null; await Task.Run(() => { r = ResultRunner <List <usp_05_Campus_GetCampus_Ent> > .Run(delegate() { return(DropDownBus.usp_05_Campus_GetCampus()); }); }); return(r); }
public async Task <Result <GetPIsEnt> > GetPIsByLastName(int?CampusPK, int?SchoolPK, int?DeptPK, string PILastNameSearch, int?EnsureExists_PIPK) { Result <GetPIsEnt> r = null; await Task.Run(() => { r = ResultRunner <GetPIsEnt> .Run(delegate() { return(DropDownBus.usp_17_GetPIsByCampus(CampusPK, SchoolPK, DeptPK, PILastNameSearch, EnsureExists_PIPK)); }); }); return(r); }
public async Task <Result <GetProposalsEnt> > GetProposals(int CampusPK, int?SchoolPK, int?DeptPK, string ProposalNumberSearch, string EnsureExists_ProposalNumber) { Result <GetProposalsEnt> r = null; await Task.Run(() => { r = ResultRunner <GetProposalsEnt> .Run(delegate() { return(DropDownBus.GetProposals(CampusPK, SchoolPK, DeptPK, ProposalNumberSearch, EnsureExists_ProposalNumber)); }); }); return(r); }
public async Task <Result <int> > AddLevel2([FromBody] TypeLevel2Ent ent) { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { TypeBus.AddLevel2(ent, LoggededInUserEmail); }); }); return(r); }
public async Task <Result <int> > GetTimout() { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { return(OVPR_System.AuthenticationTimeout_Minutes); }); }); return(r); }
public async Task <Result <List <TypeEnt> > > GetLevel2(int Level1_PK) { Result <List <TypeEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <TypeEnt> > .Run(delegate() { return(TypeBus.GetLevel2(Level1_PK)); }); }); return(r); }
public async Task <Result <List <RolesEnt> > > GetRoles() { Result <List <RolesEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <RolesEnt> > .Run(delegate() { return(UserBus.GetRoles()); }); }); return(r); }
public async Task <Result <int> > KeepAlive() { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { return(1); }); }); return(r); }
public async Task <Result <List <UserEnt> > > GetAllUsers(bool isActive) { Result <List <UserEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <UserEnt> > .Run(delegate() { return(UserBus.GetAllUsers(isActive)); }); }); return(r); }
public async Task <Result <int> > UpdateUser([FromBody] UserEnt ent) { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { UserBus.UpdateUser(ent, LoggededInUserID); }); }); return(r); }
public async Task <Result <int> > EditPayment([FromBody] PaymentChangeEnt ent) { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { PaymentBus.EditPayment(ent); }); }); return(r); }
public async Task <Result <int> > DeletePayment(int Commitment_PK, int Payment_PK, string PayStatus) { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { PaymentBus.DeletePayment(Commitment_PK, Payment_PK, PayStatus); }); }); return(r); }
public async Task <Result <int> > GetNextAvailablePaymentNumber(int Commitment_PK) { Result <int> r = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { return(PaymentBus.GetNextAvailablePaymentNumber(Commitment_PK)); }); }); return(r); }
public async Task <Result <string> > GetCurrentFiscalYear() { Result <string> r = null; await Task.Run(() => { r = ResultRunner <string> .Run(delegate() { return(PaymentBus.GetCurrentFiscalYear()); }); }); return(r); }
public async Task <Result <List <PaymentEnt> > > GetAllPayments(int CommitPK, string PayStatus) { Result <List <PaymentEnt> > r = null; await Task.Run(() => { r = ResultRunner <List <PaymentEnt> > .Run(delegate() { return(PaymentBus.GetPayments(CommitPK, PayStatus, null)); }); }); return(r); }
public async Task <Result <CommitmentEnt> > GetCommitment(int Commitment_PK) { Result <CommitmentEnt> r = null; await Task.Run(() => { r = ResultRunner <CommitmentEnt> .Run(delegate() { return(OVPRBus.GetCommitment(Commitment_PK)); }); }); return(r); }
public async Task <Result <int> > CreateCommitment([FromBody] UpdateCommitmentArg updateCommitmenArg) { Result <int> r = null; await Task.Run(() => { string sql = null; r = ResultRunner <int> .Run(delegate() { return(OVPRBus.CreateCommitment(LoggededInUserEmail, updateCommitmenArg.CommitmentChangeEnt, updateCommitmenArg.Files, out sql)); }); r.SQL = sql; }); return(r); }
public async Task <Result <int> > UpdateCommitment([FromBody] UpdateCommitmentArg updateCommitmenArg) { //var x = ""; //OVPRBus.UpdateCommitment(LoggededInUserEmail, updateCommitmenArg.CommitmentChangeEnt, updateCommitmenArg.Files, out x); Result <int> r = null; string sql = null; await Task.Run(() => { r = ResultRunner <int> .Run(delegate() { OVPRBus.UpdateCommitment(LoggededInUserEmail, updateCommitmenArg.CommitmentChangeEnt, updateCommitmenArg.Files, out sql); }); r.SQL = sql; }); return(r); }