public JsonResult QuatationSelect(string ObjKy, string ordHdrKy)
        {
            var UsrKy           = HTNSession.UsrKy;
            var CKy             = HTNSession.CKy;
            var QuatationSelect = new SMLQuatationHdrModel();

            QuatationSelect = apiOpr.QuatationSelect(HTNSession.Environment, CKy, UsrKy, ObjKy, ordHdrKy);
            return(Json(QuatationSelect, JsonRequestBehavior.AllowGet));
        }
        public SMLQuatationHdrModel QuatationSelect(string EnvironmentName, int cKy, int usrKy, string objKy,
                                                    string ordHdrKy)
        {
            var actionUri = "SMLQuoteHdrSelect";

            var paramDictionary = new Dictionary <string, object>();

            paramDictionary.Add("CKy", cKy);
            paramDictionary.Add("UsrKy", usrKy);
            paramDictionary.Add("ObjKy", objKy);
            paramDictionary.Add("ordHdrKy", ordHdrKy);

            var list = new SMLQuatationHdrModel();

            list = RunApiOperation(
                SMLQuatationModel,
                actionUri,
                EnvironmentName,
                paramDictionary,
                list.GetType()) as SMLQuatationHdrModel;

            return(list);
        }