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.
|
using Model;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Web_Api.Mapper
|
|
{
|
|
public static class SkinMapper
|
|
{
|
|
public static SkinDTO toDTO(this Skin skin)
|
|
{
|
|
return new SkinDTO()
|
|
{
|
|
Name = skin.Name,
|
|
Description = skin.Description,
|
|
Price = skin.Price
|
|
};
|
|
}
|
|
}
|
|
}
|