public ContentResult GetMyPendingDeliveries()
        {
            try
            {
                var          auth    = AuthorizationGateway.GetAuthorizedInfo();
                RequestModel request = new RequestModel();

                var result = request.GetBidsByMe(auth);

                //  return Json(new { Result = "OK", Records = result }, JsonRequestBehavior.AllowGet);
                return(new ContentResult
                {
                    Content = JsonConvert.SerializeObject(new { Result = "OK", Records = result }, new JsonSerializerSettings()
                    {
                        DateFormatString = "yyyy-MM-dd hh:mm:ss tt"
                    }),
                    ContentType = "application/json"
                });
            }
            catch (Exception ex)
            {
                //return Json(new { Result = "ERROR", Message = ex.Message }, JsonRequestBehavior.AllowGet);
                return(new ContentResult
                {
                    Content = JsonConvert.SerializeObject(new { Result = "ERROR", Message = ex.Message }),
                    ContentType = "application/json"
                });
            }
        }