Пример #1
0
 public PartialViewResult SearchCertificateDocuments(int certificateId, int selectedPage)
 {
     CertificateDetailModel certificateDetailModel = new CertificateDetailModel();
     certificateDetailModel.GetCertificateDetail(certificateId, false);
     certificateDetailModel.Certificate = new Certificate { CertificateId = certificateId };
     return PartialView("_CertificateDocument", certificateDetailModel);
 }
Пример #2
0
 public ActionResult ViewCertificateDetail(int certificateId)
 {
     CertificateDetailModel certificateDetailModel = new CertificateDetailModel();
     //Get the certificate data with its documents
     certificateDetailModel.GetCertificateDetail(certificateId,true);
     return View("Certificate",certificateDetailModel);
 }