public override void Start() { base.Start(); var hands = _handService.GetHands(); Hands = new ObservableCollection <Hand>(hands); }
public IActionResult Index(int count = 1) { return(View(_handService.GetHands(count).AsQueryable().ProjectTo <HandModel>(_mapper.ConfigurationProvider))); }