mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-26 23:49:57 +01:00
* Store Branding: Refactoring and logo as favicon - Encapsulates store branding properties into their own view model - Uses the logo as favicon on public pages * Refactorings * Updates
18 lines
652 B
C#
18 lines
652 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Abstractions.Form;
|
|
using BTCPayServer.Models;
|
|
|
|
namespace BTCPayServer.Forms.Models;
|
|
|
|
public class FormViewModel
|
|
{
|
|
public string StoreName { get; set; }
|
|
public string FormName { get; set; }
|
|
public Form Form { get; set; }
|
|
public string AspController { get; set; }
|
|
public string AspAction { get; set; }
|
|
public Dictionary<string, string> RouteParameters { get; set; } = new();
|
|
public MultiValueDictionary<string, string> FormParameters { get; set; } = new();
|
|
public StoreBrandingViewModel StoreBranding { get; set; }
|
|
public string FormParameterPrefix { get; set; }
|
|
}
|