Ejemplo n.º 1
0
        // GET: Client/Create
        public ActionResult GetBidsForMyRequest(int requestID)
        {
            try
            {
                var          auth   = AuthorizationGateway.GetAuthorizedInfo();
                RequestModel model  = new RequestModel();
                var          result = model.GetBidsForMyRequest(requestID, auth);

                return(Json(new { Result = "OK", Record = result }, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                return(Json(new { Result = "ERROR", Message = ex.Message }, JsonRequestBehavior.AllowGet));
            }
        }