private static GetViewNameFromModel ( dynamic model ) : string | ||
model | dynamic | |
return | string |
private static string GetViewNameFromModel(dynamic model)
{
return Regex.Replace(model.GetType().Name, "Model$", string.Empty);
}