public ActionResult Manage(int recordKey, string formState) { InvoiceUploadService service = new InvoiceUploadService(); InvoiceUploadViewModel model = service.InitialDetailView(recordKey, formState); ViewBag.Title = UtilityService.GetPagetTitlePrefix(formState); return(View("~/Views/InvoiceUpload/InvoiceUploadDetail.cshtml", model)); }
public ActionResult Detail(int recordKey) { InvoiceUploadService service = new InvoiceUploadService(); InvoiceUploadViewModel model = service.InitialDetailView(recordKey, ConstantVariableService.FormStateDisplay); ViewBag.Title = UtilityService.GetPagetTitlePrefix(ConstantVariableService.FormStateDisplay); return(View("~/Views/InvoiceUpload/InvoiceUploadDetail.cshtml", model)); }