public ActionResult Edit(MBNDMetadata model)
        {
            if (ModelState.IsValid)
            {
                var entity = _seoService.GetMbndMetadata(model.Id);
                entity.Url = model.Url;
                entity.Title = model.Title;
                entity.Headline = model.Headline;
                entity.Keywords = model.Keywords;
                entity.Description = model.Description;
                entity.Content = model.Content;
                entity.CanonicalUrl = model.CanonicalUrl;
                entity.RedirectTo = model.RedirectTo;
                entity.ResponseCode = model.ResponseCode;
                entity.Robots = model.Robots;
                entity.X1 = model.X1;
                entity.X2 = model.X2;
                entity.X3 = model.X3;
                entity.Enable = model.Enable;
                entity.UpdatedDate = DateTime.Now;

                _seoService.Update(entity);

                ViewBag.Status = 1;
            }

            return View(model);
        }
        public JsonResult Add(string url)
        {
            if (string.IsNullOrWhiteSpace(url)) return Json(false);

            var entity = new MBNDMetadata
            {
                Url = url,
                CreatedDate = DateTime.Now
            };

            var result = _seoService.Add(entity);
            return Json(result ? entity.Id : -1);
        }