btcpayserver/BTCPayServer/Forms/Models/FormViewModel.cs
d11n 44b7ed0e6e
Store Branding: Refactoring and logo as favicon (#5519)
* 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
2023-12-01 16:13:44 +01:00

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; }
}