refactor: rename response properties in PackageService for consistency
This commit is contained in:
@@ -129,7 +129,7 @@ public class PackageService : PackageContract.PackageContractBase
|
||||
|
||||
return new GetCustomerPackagesResponse
|
||||
{
|
||||
Packages = { packages }
|
||||
Models = { packages }
|
||||
};
|
||||
}
|
||||
|
||||
@@ -163,22 +163,11 @@ public class PackageService : PackageContract.PackageContractBase
|
||||
|
||||
return new GetCustomerPackageDetailsResponse
|
||||
{
|
||||
Package = new CustomerPackageModel
|
||||
{
|
||||
Id = request.PackageId,
|
||||
Name = "پکیج طلایی",
|
||||
Title = "پکیج طلایی", // Populate alias field
|
||||
Description = "پکیج کامل با تمام امکانات برای کاربران حرفهای",
|
||||
Price = 5600000,
|
||||
Currency = "IRR",
|
||||
PackageType = PackageTypeEnum.PackageTypeGolden,
|
||||
IsAvailable = true,
|
||||
ImageUrl = "/images/packages/golden-detail.jpg",
|
||||
ImagePath = "/images/packages/golden-detail.jpg", // Populate alias field
|
||||
ValidityDays = 365,
|
||||
IsPopular = true,
|
||||
ShortDescription = "بهترین انتخاب برای کسب درآمد حداکثری"
|
||||
},
|
||||
Id = request.PackageId,
|
||||
Title = "پکیج طلایی",
|
||||
Description = "پکیج کامل با تمام امکانات برای کاربران حرفهای",
|
||||
Price = 5600000,
|
||||
ImagePath = "/images/packages/golden-detail.jpg",
|
||||
Features = { packageFeatures },
|
||||
Requirements = new PurchaseRequirements
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user