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;
|
|
|
|
namespace Web_Api
|
|
{
|
|
public class RuneDTO
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public Rune toModel()
|
|
{
|
|
return new Rune(Name, Description);
|
|
}
|
|
}
|
|
}
|