public void Update() { imagesMapper.UpdateCollection(service.GetImages(), Images); RefreshCommand.UpdateState(); DeleteImagesCommand.UpdateState(); }