public virtual ActionResult DeriveTitle(InstitutionalAgreementDeriveTitleInput model) { var query = new GenerateTitleQuery(User); Mapper.Map(model, query); model.Title = _queryProcessor.Execute(query); return(Json(model, JsonRequestBehavior.AllowGet)); }
public virtual ActionResult DeriveTitle(InstitutionalAgreementDeriveTitleInput model) { var query = new GenerateTitleQuery(User); Mapper.Map(model, query); model.Title = _queryProcessor.Execute(query); return Json(model, JsonRequestBehavior.AllowGet); }