public static string Action(this UrlHelper helper, Feature f) { if (f == null) return ""; HttpRequestBase request = helper.RequestContext.HttpContext.Request; return helper.Action("preview", "feature", new RouteValueDictionary(new { id = f.Base64Key, area = "CNTV" })); }
public FeatureDocument(Feature f) { this.f = f; this.Title = f.Title; }