示例#1
0
 public UsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService, ReviewViewModel review)
 {
     Id             = usedService.Id;
     OfferedService = offeredService;
     DateOfPurchase = usedService.DateOfPurchase;
     Review         = review;
 }
示例#2
0
 public AdminUsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService, UserViewModel user)
 {
     Id             = usedService.Id;
     OfferedService = offeredService;
     DateOfPurchase = usedService.DateOfPurchase;
     Consumer       = user;
 }
示例#3
0
 public UsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService)
 {
     Id             = usedService.Id;
     OfferedService = offeredService;
     DateOfPurchase = usedService.DateOfPurchase;
 }