示例#1
0
 public UsedServiceViewModel(DateTime dateOfPurchase, ReviewViewModel review)
 {
     DateOfPurchase = dateOfPurchase;
     Review         = review;
 }
示例#2
0
 public UsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService, ReviewViewModel review)
 {
     Id             = usedService.Id;
     OfferedService = offeredService;
     DateOfPurchase = usedService.DateOfPurchase;
     Review         = review;
 }