public ActionResult GetQuotesByPaging(int pPageIndex, string pQuoteType, string pWrapperDivName)
 {
     ResolutionObject resolutionobj = new ResolutionObject();
     ViewBag.QuotesNextPageIndex = pPageIndex + 1;
     ViewBag.QuotesPageSize = QuotesPageSize;
     ViewBag.WrapperDivName = pWrapperDivName;
     return PartialView("_ResolutionList", resolutionobj);
     //List<BidSummaryListViewModel> modelList = new List<BidSummaryListViewModel>();
     //ViewBag.QuotesNextPageIndex = pPageIndex + 1;
     //ViewBag.QuotesPageSize = QuotesPageSize;
     //ViewBag.WrapperDivName = pWrapperDivName;
     //return PartialView("_ResolutionList", modelList);
 }
        /// <summary>
        /// Action for Get Reolution Detail By ResoluitionID
        /// </summary>
        /// <param name="pResolutionID">ID of a resolution of which a detail needs to be get</param>
        /// <returns></returns>
        public ActionResult Resolution(int pResolutionID)
        {
            //ViewBag.resolutionid = pResolutionID;
            ResolutionObject resolutionobj = new ResolutionObject();
            ResponseObjectForAnything responseObject = new ResponseObjectForAnything();
            BidEngine bidEngine = new BidEngine();
            string response = bidEngine.GetResolutionDetailsByIdJSON(Request.Cookies["sessionkey"].Value, pResolutionID.ToString());
            responseObject = (ResponseObjectForAnything)Serializer.JSONStringToObject<ResponseObjectForAnything>(response);
            resolutionobj = (ResolutionObject)Serializer.JSONStringToObject<ResolutionObject>(responseObject.ResultObjectJSON);
            return PartialView("_Resolution", resolutionobj);
            //ResoulutionDetailViewModel model = new ResoulutionDetailViewModel();

            //model.ProblemBidViewModel.ID = pResolutionID;
            //model.ProblemBidViewModel.ProblemID = 1;
            //model.ProblemBidViewModel.UserID = 1;
            //model.ProblemBidViewModel.Description = "Having good experice of working with electronics";
            //model.ProblemBidViewModel.ResolutionMethodID = 1;
            //model.ProblemBidViewModel.ResolutionMethodName = "Onsite Visit Required";
            //model.ProblemBidViewModel.QuickBloxUserID = "5815727";
            //model.ProblemBidViewModel.ResolutionLink1 = "http://www.facebook.com";
            //model.ProblemBidViewModel.ResolutionLink2 = "http://www.google.com";
            //model.ProblemBidViewModel.Amount = 1200M;
            //model.ProblemBidViewModel.FirstName = "Charles";
            //model.ProblemBidViewModel.LastName = "Brown";
            //model.ProblemBidViewModel.IsSelected = true;

            //ResolutionMediaViewModel resolutionMediaViewModel = null;

            //for (int i = 1; i < 5; i++)
            //{
            //    resolutionMediaViewModel = new ResolutionMediaViewModel();
            //    resolutionMediaViewModel.ID = i;
            //    resolutionMediaViewModel.BidID = 1;
            //    resolutionMediaViewModel.IsImage = true;
            //    resolutionMediaViewModel.ResolutionMediaPath = ServerSettings.WebApplicationURL + "/assets/images/ProblemResolution/" + i.ToString() + ".JPG";
            //    model.ResolutionMediaViewModelList.Add(resolutionMediaViewModel);
            //}

            //for (int i = 5; i < 7; i++)
            //{
            //    resolutionMediaViewModel = new ResolutionMediaViewModel();
            //    resolutionMediaViewModel.ID = i;
            //    resolutionMediaViewModel.BidID = 1;
            //    resolutionMediaViewModel.IsImage = false;
            //    resolutionMediaViewModel.ResolutionMediaPath = ServerSettings.WebApplicationURL + "/upload/video/robotic.mp4";
            //    model.ResolutionMediaViewModelList.Add(resolutionMediaViewModel);
            //}

            //ResolutionProposedTime resolutionProposedTime = null;

            //resolutionProposedTime = new ResolutionProposedTime();
            //resolutionProposedTime.ID = 1;
            //resolutionProposedTime.BidID = 1;
            //resolutionProposedTime.ProposedTime = CommonLogic.CDate("10-09-2015 11:35 AM");
            //resolutionProposedTime.MeetingType = MEETINGTYPE.FaceToFace.GetHashCode();
            //resolutionProposedTime.CreatedByUserID = 1;
            //resolutionProposedTime.IsSelected = true;
            //resolutionProposedTime.CreatedBy = "Expert";
            //model.ResolutionProposedTimeList.Add(resolutionProposedTime);

            //resolutionProposedTime = new ResolutionProposedTime();
            //resolutionProposedTime.ID = 2;
            //resolutionProposedTime.BidID = 1;
            //resolutionProposedTime.ProposedTime = CommonLogic.CDate("10-15-2015 4:45 PM");
            //resolutionProposedTime.MeetingType = MEETINGTYPE.Video.GetHashCode();
            //resolutionProposedTime.CreatedByUserID = 1;
            //resolutionProposedTime.IsSelected = true;
            //resolutionProposedTime.CreatedBy = "Expert";
            //model.ResolutionProposedTimeList.Add(resolutionProposedTime);

            //resolutionProposedTime = new ResolutionProposedTime();
            //resolutionProposedTime.ID = 3;
            //resolutionProposedTime.BidID = 1;
            //resolutionProposedTime.ProposedTime = CommonLogic.CDate("10-15-2015 4:45 PM");
            //resolutionProposedTime.MeetingType = MEETINGTYPE.Video.GetHashCode();
            //resolutionProposedTime.CreatedByUserID = 2;
            //resolutionProposedTime.IsSelected = true;
            //resolutionProposedTime.CreatedBy = "User";
            //model.ResolutionProposedTimeList.Add(resolutionProposedTime);

            //resolutionProposedTime = new ResolutionProposedTime();
            //resolutionProposedTime.ID = 3;
            //resolutionProposedTime.BidID = 1;
            //resolutionProposedTime.ProposedTime = CommonLogic.CDate("10-09-2015 11:35 AM");
            //resolutionProposedTime.MeetingType = MEETINGTYPE.Video.GetHashCode();
            //resolutionProposedTime.CreatedByUserID = 2;
            //resolutionProposedTime.IsSelected = true;
            //resolutionProposedTime.CreatedBy = "User";
            //model.ResolutionProposedTimeList.Add(resolutionProposedTime);

            //return PartialView("_Resolution", model);
        }