if (_blogProcess.CreateBlog(Mapper.Map<blogviewmodel,>(model)))
{
return RedirectToAction("Index", "Blog");
}
Use this block of code,because now the action method even though passes through the RedirectToAction statement there is no return keyword. So that does not work.
Thanks
:)