This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BankingDetails | |
{ | |
public string AccountNumber { get; set; } | |
public string RoutingTransitNumber { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static MvcHtmlString PartialFor<TModel, TProperty>( | |
this HtmlHelper<TModel> helper, | |
System.Linq.Expressions.Expression<Func<TModel, TProperty>> expression, | |
string partialViewName, | |
Dictionary<string, object> additionalViewData = null | |
) | |
{ | |
// Get model value from expression | |
string name = ExpressionHelper.GetExpressionText(expression); |
NewerOlder