public WorkTable(WorkTableModel model) { this.Id = model.Id; this.Date = model.Date; this.IsActive = model.IsActive; this.PersonId = null; }
private void ChangeIsActiveStatus(WorkTableModel model, bool value) { model.IsActive = value; this.StateChanged.InvokeAsync(); }