username@email.com
2024-08-22 48c1ff4a312b814c2849e4566236d240364a8aba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using cylsg.Model.UserModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace cylsg.Application.Users.Dtos
{
    public class Mapper : IRegister
    {
        public void Register(TypeAdapterConfig config)
        {
            config.ForType<User, UserDto>();
            config.ForType<UserDto, User>();
 
            config.ForType<UserCompany, UserCompanyDto>();
            config.ForType<UserCompanyDto, UserCompany>();
 
            config.ForType<UserWorker, UserWorkerDto>();
            config.ForType<UserWorkerDto, UserWorker>();
        }
    }
}