aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio_v2/Tango.BLL/IMapper.cs
blob: cb4a85e3d99321c811d4f56f3226242484eb56eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Text;
using Tango.DAL;

namespace Tango.BLL
{
    public interface IMapper<T1, T2> where T1 : class where T2 : class
    {
        void Map(T1 source, T2 target);
        void Map(T2 source, T1 target);
        T2 Create(T1 source);
        T1 Create(T2 source);
    }
}