public UsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService, ReviewViewModel review) { Id = usedService.Id; OfferedService = offeredService; DateOfPurchase = usedService.DateOfPurchase; Review = review; }
public AdminUsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService, UserViewModel user) { Id = usedService.Id; OfferedService = offeredService; DateOfPurchase = usedService.DateOfPurchase; Consumer = user; }
public UsedServiceViewModel(IUsedService usedService, OfferedServiceViewModel offeredService) { Id = usedService.Id; OfferedService = offeredService; DateOfPurchase = usedService.DateOfPurchase; }