Update Subscription

Added Update() Method to model.
This commit is contained in:
Mario Steele 2025-07-21 17:08:58 -05:00
parent e1ad30da0c
commit 77c95a9525

View file

@ -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;
}
}