Refactored DTO class and namespace names from Massdata* to MassData* in DbFirst.Contracts. Updated all relevant application files to use the correct DTO namespaces for Catalogs and MassData. Adjusted _Imports.razor to include new DTO namespaces and removed unused usings. These changes improve code consistency and reduce namespace-related errors.
15 lines
308 B
C#
15 lines
308 B
C#
using AutoMapper;
|
|
using DbFirst.Domain.Entities;
|
|
using DbFirst.Contracts.Catalogs;
|
|
|
|
namespace DbFirst.Application.Catalogs;
|
|
|
|
public class CatalogProfile : Profile
|
|
{
|
|
public CatalogProfile()
|
|
{
|
|
CreateMap<VwmyCatalog, CatalogReadDto>();
|
|
CreateMap<CatalogWriteDto, VwmyCatalog>();
|
|
}
|
|
}
|