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 Web_Api.Controllers;
|
|
|
|
namespace Web_Api.Mapper
|
|
{
|
|
public static class ChampionMapper
|
|
{
|
|
public static ChampionDTO toDTO(this Champion champion)
|
|
{
|
|
return new ChampionDTO()
|
|
{
|
|
Name = champion.Name,
|
|
Bio = champion.Bio
|
|
};
|
|
}
|
|
}
|
|
}
|