Torma Kristóf
634488c2d8
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
422 B
C#
16 lines
422 B
C#
using AutoMapper;
|
|
using HanyadikHetVan.Data.Entities;
|
|
using HanyadikHetVan.DTO;
|
|
|
|
namespace HanyadikHetVan.Profiles
|
|
{
|
|
public class PauseProfile : Profile
|
|
{
|
|
public PauseProfile()
|
|
{
|
|
CreateMap<Pause, PauseDTO>();
|
|
CreateMap<PauseDTO, Pause>().ForMember(x => x.Id, options => options.Ignore()).ForMember(x => x.WeeklyTimeSpanId, options => options.Ignore());
|
|
}
|
|
}
|
|
}
|