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