public IActionResult Create(int blogId) { var result = _service.FindMetaData(); if (!result.Status) { return(RedirectToAction("Error", "Home", new { errorMessage = result.Message })); } ViewBag.BlogId = blogId; return(View(result.Data)); }