public PersonTable(PersonTableModel model) { this.Id = model.Id; this.Date = model.Date; this.IsAvailable = model.IsAvailable; this.WorkId = null; }
private void ChangeIsAvailableStatus(PersonTableModel model, bool value) { model.IsAvailable = value; this.StateChanged.InvokeAsync(); }