17 lines
428 B
C#
17 lines
428 B
C#
using System.Threading.Tasks;
|
|
using HandyControlDemo.Data;
|
|
using HandyControlDemo.Service;
|
|
|
|
namespace HandyControlDemo.ViewModel
|
|
{
|
|
public class ContributorsViewModel : DemoViewModelBase<ContributorModel>
|
|
{
|
|
public ContributorsViewModel(DataService dataService)
|
|
{
|
|
Task.Run(() =>
|
|
{
|
|
DataList = dataService.GetContributorDataList();
|
|
});
|
|
}
|
|
}
|
|
} |