private void InsertExecute() { _repository.Add(Model); AceptCallBack?.Invoke(); Messenger.Default.Send(new NotificationMessage("Inserted")); }
private void AceptChangesExecute() { _repository.Update(Model); AceptCallBack?.Invoke(); Messenger.Default.Send(new NotificationMessage("Updated")); }