public virtual ActionResult Edit(SmtpConfigurationViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return PartialView(model);
            }

            return PartialView();
        }
 public void Update(SmtpConfigurationViewModel model, SmtpConfiguration entity)
 {
     Mapper.Map(model, entity);
 }
 public override System.Web.Mvc.ActionResult Edit(SmtpConfigurationViewModel model)
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Edit);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     return callInfo;
 }