using System; using System.Collections.Generic; using System.Linq; using System.Web; using Sleis.Models; namespace Sleis.ViewModels { public class ProcessRequestViewModel where T : IRequestModel { public T Request { get; set; } public string RequestType { get { return (Request is AmendmentRequestModel) ? "Amendment" : "Repudiation"; } } public string Comment { get; set; } } }