public static IBPPayoutEntries_ManageResultString Manage(NameValueCollection querystring, NameValueCollection formdata) { int intParser; UserProfile userprofile = WebCommon.GetUserProfile(); var IBPCV = new IBPPayoutEntries_IBPPayoutEntry(); IBPCV.intIDDisIBPPayoutEntry = Int32.TryParse(querystring.Get("intIDDisIBPPayoutEntry"), out intParser) ? intParser : 0; IBPCV.intDisIBPPayoutEntry_Skygo = int.Parse(querystring.Get("intDisIBPPayoutEntry_Skygo").ToString()); IBPCV.TransactionDate = querystring.Get("TransactionDate"); IBPCV.TotalAmount = decimal.Parse(querystring.Get("TotalAmount").ToString()); IBPCV.strParticular = querystring.Get("strParticular"); IBPCV.intIDSecUser = int.Parse(userprofile.UserId.ToString()); var IBPCVDetails = new List <IBPPayoutEntries_SkgyoIBPPayoutEntryDetail>(); string strData1 = formdata[0].ToString().Substring(formdata[0].ToString().IndexOf("],[") + 1, formdata[0].Length - formdata[0].ToString().IndexOf("],[") - 1); IBPCVDetails = (List <IBPPayoutEntries_SkgyoIBPPayoutEntryDetail>)IBPCVDetails.ToClass(strData1); string param = WebCommon.ToXML(IBPCVDetails); return(IBPPayoutEntriesDAL.Manage(IBPCV, param)); }
public static List <IBPPayoutEntries_GLEntryDetail> GetGLEntryDetail(NameValueCollection querystring) { string strSeries = querystring.Get("strSeries"); return(IBPPayoutEntriesDAL.GetGLEntryDetail(strSeries)); }
public static List <IBPPayoutEntries_GLEntryHead> GetGLEntryHead(NameValueCollection querystring) { int intIDDisIBPPayoutEntry = int.Parse(querystring.Get("intIDDisIBPPayoutEntry")); return(IBPPayoutEntriesDAL.GetGLEntryHead(intIDDisIBPPayoutEntry)); }
public static List <IBPPayoutEntries_IBPPayoutEntry> SearchTransaction(NameValueCollection querystring) { string strCriteria = querystring.Get("criteria"); return(IBPPayoutEntriesDAL.SearchTransaction(strCriteria)); }
public static List <IBPPayoutEntries_SkgyoIBPPayoutEntryDetail> SearchSkygoIBPPayoutCVDetail(NameValueCollection querystring) { int intIDDisIBPPayoutEntry = int.Parse(querystring.Get("intIDDisIBPPayoutEntry")); return(IBPPayoutEntriesDAL.SearchSkygoIBPPayoutCVDetail(intIDDisIBPPayoutEntry)); }
public static List <IBPPayoutEntries_SkgyoIBPPayoutEntry> SearchSkygoIBPPayoutCV(NameValueCollection querystring) { string strCriteria = querystring.Get("criteria"); return(IBPPayoutEntriesDAL.SearchSkygoIBPPayoutCV(strCriteria)); }