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