Replaced String.Empty and null! with string.Empty for string properties in CatalogReadDto, CatalogWriteDto, and VwmyCatalog classes. This ensures consistent initialization and helps prevent null reference issues across the codebase.
11 lines
309 B
C#
11 lines
309 B
C#
using DbFirst.Domain;
|
|
|
|
namespace DbFirst.Application.Catalogs;
|
|
|
|
public class CatalogWriteDto
|
|
{
|
|
public string CatTitle { get; set; } = string.Empty;
|
|
public string CatString { get; set; } = string.Empty;
|
|
public CatalogUpdateProcedure UpdateProcedure { get; set; } = CatalogUpdateProcedure.Update;
|
|
}
|