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