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.
21 lines
436 B
21 lines
436 B
using Model;
|
|
|
|
namespace Web_Api
|
|
{
|
|
public class ChampionDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Bio { get; set; }
|
|
public string Icon { get; set; }
|
|
public LargeImageDTO Image { get; set; }
|
|
public ChampionClass Class { get; set; }
|
|
|
|
|
|
public Champion toModel()
|
|
{
|
|
return new Champion(Name, Bio);
|
|
}
|
|
}
|
|
}
|