public ActionResult Survey(string surveykey)
        {
            SurveryModel model = new SurveryModel();
            model.SurveryGuid = Guid.Parse(surveykey);
            Guid suryKey;

            if(Guid.TryParse(surveykey, out suryKey))
            {
                var suery = _orderService.GetOrderSurveryByOrderGuid(suryKey);

                if (suery != null)
                    return RedirectToRoute("HomePage");
            }

            return View(model);
        }
        public ActionResult Survey(SurveryModel model)
        {
            Survery entity = new Survery();

            var order = _orderService.GetOrderByGuid(model.SurveryGuid);

            if (ModelState.IsValid)
            {
                entity.OrderId = order.Id;
                entity.SurveryGuid = order.OrderGuid;
                entity.Question1 = 0;// Convert.ToInt32(model.Question1);
                entity.Question2 = Convert.ToInt32(model.Question2);
                entity.Question3 = Convert.ToInt32(model.Question3);
                entity.Question4 = Convert.ToInt32(model.Question4);
                entity.CreatedOnUtc = DateTime.UtcNow;

                _orderService.InsertSurvey(entity);

                order.IsCustomerQa = true;
                order.LastUpdatedDateUtc = DateTime.UtcNow;
                _orderService.UpdateOrder(order);

                return RedirectToRoute("SurveyConfirmation");
            }
            return View(model);
        }