zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/AutoMapper/ResourceGroupsProfile.cs

16 lines
565 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using AutoMapper;
using ZeroFramework.DeviceCenter.Application.Models.ResourceGroups;
using ZeroFramework.DeviceCenter.Domain.Aggregates.ResourceGroupAggregate;
namespace ZeroFramework.DeviceCenter.Application.AutoMapper
{
public class ResourceGroupsProfile : Profile
{
public ResourceGroupsProfile()
{
CreateMap<ResourceGroup, ResourceGroupGetResponseModel>();
CreateMap<ResourceGroupCreateRequestModel, ResourceGroup>();
CreateMap<ResourceGroupUpdateRequestModel, ResourceGroup>();
}
}
}