public ActionResult GetOrderById(int orderId) { CakesPosRepository cpr = new CakesPosRepository(_connectionString); return(Json(cpr.GetOrderById(orderId), JsonRequestBehavior.AllowGet)); }
public ActionResult GetOrderById(int orderId) { CakesPosRepository cpr = new CakesPosRepository(_connectionString); return(Json(cpr.GetOrderById(orderId), JsonRequestBehavior.AllowGet)); }