Beispiel #1
0
        //public JsonResult checkcutomer(string customer)
        //{

        //    string json = "";
        //    BusssinessLogic objbal = new BusssinessLogic();
        //    List<customers> lstcurrency = new List<customers>();
        //    var jsonSerialiser = new JavaScriptSerializer();
        //    try
        //    {
        //        lstcurrency = objbal.blcurrency(customer);
        //        json = jsonSerialiser.Serialize(lstcurrency);

        //    }
        //    catch (Exception ex)
        //    {

        //        throw ex;
        //    }

        //    return Json(json, JsonRequestBehavior.AllowGet);

        //}



        /// <summary>
        ///
        /// </summary>
        /// <param name="OrderId"></param>
        /// <returns></returns>
        public ActionResult GetdataByOrderId(string OrderId)
        {
            BusssinessLogic objbal      = new BusssinessLogic();
            List <Orders>   lstordercls = new List <Orders>();

            try
            {
                lstordercls = objbal.BalGetdataByOrderId(OrderId);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(View(lstordercls));
        }