public ActionResult Edit(CreateEditViewModel model)
        {
            Member member = memberProvider.GetMember(model.Id);

            Mapper.DynamicMap(model, member);
            ValidateData(member);

            memberProvider.UpdateMember(member);

            //var jsonViewModel = new AjaxViewModel(true, model, null);
            return(RedirectToAction("Index"));
        }