コード例 #1
0
 public ItemViewModel(Item t)
 {
     Id = t.ItemId;
     Name = t.ItemName;
     Description = t.ItemDescription;
     AssignedUser = t.AssignedUserId;
 }
コード例 #2
0
 public ItemViewModel(Item t, string editUrl)
 {
     Id = t.ItemId;
     Name = t.ItemName;
     Description = t.ItemDescription;
     EditUrl = editUrl;
 }