Replaced all EnvelopeGenerator.GeneratorAPI namespaces with EnvelopeGenerator.API across controllers, models, extensions, middleware, and annotation-related files. Updated using/import statements and namespace declarations accordingly. Added wwwroot folder to project file. Minor code adjustments made for consistency. This unifies API naming for improved clarity and maintainability.
18 lines
386 B
C#
18 lines
386 B
C#
using System.Globalization;
|
|
|
|
namespace EnvelopeGenerator.API.Models;
|
|
|
|
public class Culture
|
|
{
|
|
private string _language = string.Empty;
|
|
public string Language { get => _language;
|
|
init {
|
|
_language = value;
|
|
Info = new(value);
|
|
}
|
|
}
|
|
public string FIClass { get; init; } = string.Empty;
|
|
|
|
public CultureInfo? Info { get; init; }
|
|
}
|