using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.ComponentModel.DataAnnotations; using Sleis.Validation.Attribute; using Sleis.Utility; using Sleis.Models; namespace Sleis.ViewModels { public class ReportAttachmentDetailView : ItemView { public ReportAttachmentDetailView() { if (SessionUtility.CurrentUser.IsAgencyUser()) { Item = new AgencyReportAttachmentDetail(); } else { Item = new PublicReportAttachmentDetail(); } } } }