public override System.Web.Mvc.ActionResult Create(Stagio.Web.ViewModels.InternshipApplication.Create applicationViewModel) { var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "applicationViewModel", applicationViewModel); CreateOverride(callInfo, applicationViewModel); return(callInfo); }
public string SaveStudentFiles(Student student, Stagio.Web.ViewModels.InternshipApplication.Create internshipApplication) { Initialize(); var pathEnding = "\\Students\\" + student.FirstName + student.LastName + student.Id + "\\Offer" + internshipApplication.InternshipOfferId; var extraFilePath = this.PathBeginning + pathEnding; SaveFile(internshipApplication.Resume, extraFilePath); SaveFile(internshipApplication.CoverLetter, extraFilePath); return(pathEnding); }
partial void CreateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, Stagio.Web.ViewModels.InternshipApplication.Create applicationViewModel);