11 lines
338 B
C#
11 lines
338 B
C#
namespace EnvelopeGenerator.Web.Models
|
|
{
|
|
public class Logo
|
|
{
|
|
public string Src { get; init; } = string.Empty;
|
|
|
|
public Dictionary<string, string> Classes { get; init; } = new();
|
|
|
|
public string ClassIn(string page) => Classes.TryGetValue(page, out var cls) && cls is not null ? cls : string.Empty;
|
|
}
|
|
} |