Updated Setting
Added Update() method to model.
This commit is contained in:
parent
b08c22e77b
commit
e1ad30da0c
1 changed files with 5 additions and 0 deletions
|
|
@ -22,4 +22,9 @@ public class Setting
|
|||
#pragma warning restore CS8603
|
||||
set => ValueJson = JsonSerializer.Serialize(value);
|
||||
}
|
||||
|
||||
public void Update(Setting other)
|
||||
{
|
||||
Value = other.Value;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue