ItemDetailViewModel.cs 318 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
using System;

using LocalNetwork.Models;

namespace LocalNetwork.ViewModels
{
    public class ItemDetailViewModel : BaseViewModel
    {
        public Item Item { get; set; }
        public ItemDetailViewModel(Item item = null)
        {
            Title = item?.Text;
            Item = item;
        }
    }
}