Ejemplo n.º 1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            var data = CPProfile.ComplianceVisits;

            _history.DataSource          = data == null ? null : data.Visits;
            _history.MessageIDDataSource = CmoAuditReview.GetComplianceVisitMessageIDs(CPProfile.Cid, CPProfile.ElectionCycle);
            _history.DataBind();
        }
Ejemplo n.º 2
0
 // GET: Audit/ComplianceVisits
 public ActionResult Index()
 {
     return(View(AuditViewModelFactory.ComplianceVisitsFrom(CPProfile.ComplianceVisits, CmoAuditReview.GetComplianceVisitMessageIDs(CPProfile.Cid, CPProfile.ElectionCycle))));
 }