public static string PostRecord(NameValueCollection querystring, bool finalpost = false) { int headerId = int.TryParse(querystring.Get("HeaderID"), out headerId) ? headerId : 0; UserProfile userProfile = WebCommon.GetUserProfile(); return(ExpenseShareDAL.PostRecord(headerId, userProfile.UserId, finalpost)); }
public static List <ExpenseShare> GetExpenseShare(NameValueCollection querystring) { string criteria = querystring.Get("Criteria"); //int branchID = int.TryParse(querystring.Get("BranchID"), out branchID) ? branchID : 0; return(ExpenseShareDAL.GetExpenseShare(criteria)); }
public static string ManageExpenseShare(NameValueCollection querystring, NameValueCollection formdata) { string datTrans = querystring.Get("ESDate"); //string dTrans = Convert.ToDateTime(datTrans).ToString(); //DateTime dttr = DateTime.ParseExact(datTrans, "ddd MMM dd h:mm:ss KKKK yyyy", System.Globalization.CultureInfo.InvariantCulture); return(ExpenseShareDAL.ManageExpenseShare(datTrans)); }
public static List <ExpenseShareDetail> GetExpenseShareDetail(NameValueCollection querystring) { int rfID = int.TryParse(querystring.Get("HeaderID"), out rfID) ? rfID : 0; return(ExpenseShareDAL.GetExpenseShareDetail(rfID)); }