/// <summary> /// The theme account path. /// </summary> /// <param name="model"> /// The model. /// </param> /// <param name="viewName"> /// The view name. /// </param> /// <returns> /// The <see cref="string"/>. /// </returns> public static string ThemeAccountPath(this IMasterModel model, string viewName) { const string Path = "{0}Views/Account/{1}.cshtml"; return(string.Format(Path, PathHelper.GetThemePath(model.Theme), viewName)); }
/// <summary> /// The theme partial view path. /// </summary> /// <param name="model"> /// The model. /// </param> /// <param name="viewName"> /// The view name. /// </param> /// <returns> /// The <see cref="string"/>. /// </returns> public static string ThemePartialViewPath(this IMasterModel model, string viewName) { return(PathHelper.GetThemePartialViewPath(model, viewName)); }