Taylohtio/GeneralApi/GeneralApi.Core/Services/IMapper.cs

13 lines
286 B
C#

using System.Collections.Generic;
namespace Taloyhtio.GeneralApi.Core.Services
{
public interface IMapper<T, U>
{
U Map(T source);
IEnumerable<U> Map(IEnumerable<T> source);
T Map(U source);
IEnumerable<T> Map(IEnumerable<U> source);
}
}