Initial code commit.

This commit is contained in:
2026-02-03 10:44:31 +08:00
parent 8927c5ae0e
commit d69fe2cc1f
99 changed files with 10839 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using AutoMapper;
using Sufi.Demo.PeopleDirectory.Application.Features.Contacts.Commands;
using Sufi.Demo.PeopleDirectory.Application.Features.Contacts.Queries.GetAll;
using Sufi.Demo.PeopleDirectory.Application.Features.Contacts.Queries.GetById;
using Sufi.Demo.PeopleDirectory.Application.Responses;
using Sufi.Demo.PeopleDirectory.Domain.Entities.Misc;
namespace Sufi.Demo.PeopleDirectory.Application.Mappings
{
public class ContactProfile : Profile
{
public ContactProfile()
{
CreateMap<AddEditContactCommand, Contact>().ReverseMap();
CreateMap<GetAllContactsResponse, Contact>().ReverseMap();
CreateMap<Contact, GetContactByIdResponse>();
CreateMap<Contact, ContactResponse>();
}
}
}