You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
535 B
31 lines
535 B
using DTO;
|
|
using Entities;
|
|
using Model;
|
|
|
|
namespace ApiMappeur
|
|
{
|
|
public static class SkinMapper
|
|
{
|
|
|
|
|
|
public static Skin ToModel(this SkinEntity entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
|
|
}
|
|
public static SkinDto ToDto(this Skin item)
|
|
{
|
|
return new SkinDto()
|
|
{
|
|
Name = item.Name,
|
|
Description = item.Description,
|
|
Icon = item.Icon,
|
|
Price = item.Price
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|