Update Subscription
Added Update() Method to model.
This commit is contained in:
parent
e1ad30da0c
commit
77c95a9525
1 changed files with 6 additions and 0 deletions
|
|
@ -10,4 +10,10 @@ public class Subscription
|
|||
public required string id { get; set; }
|
||||
public required string name { get; set; }
|
||||
public string? thumbnail { get; set; }
|
||||
|
||||
public void Update(Subscription other)
|
||||
{
|
||||
name = other.name;
|
||||
thumbnail = other.thumbnail;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue