public ActionResult Create(CreateEditViewModel model) { var member = new Member(); Mapper.DynamicMap(model, member); ValidateData(member); memberProvider.AddMember(member); return(RedirectToAction("Index")); }