Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Grand.API - Remove partial keyword

support5d7a449777b2
diff --git a/src/API/Grand.Api/Controllers/BaseODataController.cs b/src/API/Grand.Api/Controllers/BaseODataController.cs
index 73c35ae38..d3ef74d7d 100644
--- a/src/API/Grand.Api/Controllers/BaseODataController.cs
+++ b/src/API/Grand.Api/Controllers/BaseODataController.cs
@@ -14,7 +14,7 @@ namespace Grand.Api.Controllers
[ApiExplorerSettings(IgnoreApi = false, GroupName = "v1")]
[AuthorizeApiAdmin]
[ServiceFilter(typeof(ModelValidationAttribute))]
- public abstract partial class BaseODataController : ODataController
+ public abstract class BaseODataController : ODataController
{
public override ForbidResult Forbid()
{
diff --git a/src/API/Grand.Api/Controllers/OData/BrandController.cs b/src/API/Grand.Api/Controllers/OData/BrandController.cs
index 6dbe2f351..f1d63279b 100644
--- a/src/API/Grand.Api/Controllers/OData/BrandController.cs
+++ b/src/API/Grand.Api/Controllers/OData/BrandController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class BrandController : BaseODataController
+ public class BrandController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/BrandLayoutController.cs b/src/API/Grand.Api/Controllers/OData/BrandLayoutController.cs
index c95d8396c..1d519f1cb 100644
--- a/src/API/Grand.Api/Controllers/OData/BrandLayoutController.cs
+++ b/src/API/Grand.Api/Controllers/OData/BrandLayoutController.cs
@@ -9,7 +9,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class BrandLayoutController : BaseODataController
+ public class BrandLayoutController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CategoryController.cs b/src/API/Grand.Api/Controllers/OData/CategoryController.cs
index 6b2f66f83..4c80bb237 100644
--- a/src/API/Grand.Api/Controllers/OData/CategoryController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CategoryController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CategoryController : BaseODataController
+ public class CategoryController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CategoryLayoutController.cs b/src/API/Grand.Api/Controllers/OData/CategoryLayoutController.cs
index fa94b99fd..005ee7eba 100644
--- a/src/API/Grand.Api/Controllers/OData/CategoryLayoutController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CategoryLayoutController.cs
@@ -9,7 +9,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CategoryLayoutController : BaseODataController
+ public class CategoryLayoutController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CollectionController.cs b/src/API/Grand.Api/Controllers/OData/CollectionController.cs
index 84133c522..a9da9b8ee 100644
--- a/src/API/Grand.Api/Controllers/OData/CollectionController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CollectionController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CollectionController : BaseODataController
+ public class CollectionController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CollectionLayoutController.cs b/src/API/Grand.Api/Controllers/OData/CollectionLayoutController.cs
index 146d01227..07b90ae2e 100644
--- a/src/API/Grand.Api/Controllers/OData/CollectionLayoutController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CollectionLayoutController.cs
@@ -9,7 +9,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CollectionLayoutController : BaseODataController
+ public class CollectionLayoutController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CountryController.cs b/src/API/Grand.Api/Controllers/OData/CountryController.cs
index 25554a7a0..e7bec5cac 100644
--- a/src/API/Grand.Api/Controllers/OData/CountryController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CountryController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CountryController : BaseODataController
+ public class CountryController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CurrencyController.cs b/src/API/Grand.Api/Controllers/OData/CurrencyController.cs
index cf19d632f..24b23a9dd 100644
--- a/src/API/Grand.Api/Controllers/OData/CurrencyController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CurrencyController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CurrencyController : BaseODataController
+ public class CurrencyController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CustomerController.cs b/src/API/Grand.Api/Controllers/OData/CustomerController.cs
index 93f8f9df7..7479d9755 100644
--- a/src/API/Grand.Api/Controllers/OData/CustomerController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CustomerController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CustomerController : BaseODataController
+ public class CustomerController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/CustomerGroupController.cs b/src/API/Grand.Api/Controllers/OData/CustomerGroupController.cs
index 97e3811cf..d7159e94e 100644
--- a/src/API/Grand.Api/Controllers/OData/CustomerGroupController.cs
+++ b/src/API/Grand.Api/Controllers/OData/CustomerGroupController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class CustomerGroupController : BaseODataController
+ public class CustomerGroupController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/DeliveryDateController.cs b/src/API/Grand.Api/Controllers/OData/DeliveryDateController.cs
index 80bd991a2..8b3cf9ab4 100644
--- a/src/API/Grand.Api/Controllers/OData/DeliveryDateController.cs
+++ b/src/API/Grand.Api/Controllers/OData/DeliveryDateController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class DeliveryDateController : BaseODataController
+ public class DeliveryDateController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/LanguageController.cs b/src/API/Grand.Api/Controllers/OData/LanguageController.cs
index a92b17018..174efd93e 100644
--- a/src/API/Grand.Api/Controllers/OData/LanguageController.cs
+++ b/src/API/Grand.Api/Controllers/OData/LanguageController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class LanguageController : BaseODataController
+ public class LanguageController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/PickupPointController.cs b/src/API/Grand.Api/Controllers/OData/PickupPointController.cs
index f4fa99474..0a9114aa8 100644
--- a/src/API/Grand.Api/Controllers/OData/PickupPointController.cs
+++ b/src/API/Grand.Api/Controllers/OData/PickupPointController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class PickupPointController : BaseODataController
+ public class PickupPointController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/PictureController.cs b/src/API/Grand.Api/Controllers/OData/PictureController.cs
index a7fd1b213..ff54c0938 100644
--- a/src/API/Grand.Api/Controllers/OData/PictureController.cs
+++ b/src/API/Grand.Api/Controllers/OData/PictureController.cs
@@ -11,7 +11,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class PictureController : BaseODataController
+ public class PictureController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/ProductAttributeController.cs b/src/API/Grand.Api/Controllers/OData/ProductAttributeController.cs
index 072d84575..4992fc81c 100644
--- a/src/API/Grand.Api/Controllers/OData/ProductAttributeController.cs
+++ b/src/API/Grand.Api/Controllers/OData/ProductAttributeController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class ProductAttributeController : BaseODataController
+ public class ProductAttributeController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/ProductController.cs b/src/API/Grand.Api/Controllers/OData/ProductController.cs
index 4923421ee..01b67ad52 100644
--- a/src/API/Grand.Api/Controllers/OData/ProductController.cs
+++ b/src/API/Grand.Api/Controllers/OData/ProductController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class ProductController : BaseODataController
+ public class ProductController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/ProductLayoutController.cs b/src/API/Grand.Api/Controllers/OData/ProductLayoutController.cs
index 4120ff876..030751c4e 100644
--- a/src/API/Grand.Api/Controllers/OData/ProductLayoutController.cs
+++ b/src/API/Grand.Api/Controllers/OData/ProductLayoutController.cs
@@ -9,7 +9,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class ProductLayoutController : BaseODataController
+ public class ProductLayoutController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/ShippingMethodController.cs b/src/API/Grand.Api/Controllers/OData/ShippingMethodController.cs
index c93dc3ac1..72fbc55be 100644
--- a/src/API/Grand.Api/Controllers/OData/ShippingMethodController.cs
+++ b/src/API/Grand.Api/Controllers/OData/ShippingMethodController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class ShippingMethodController : BaseODataController
+ public class ShippingMethodController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/SpecificationAttributeController.cs b/src/API/Grand.Api/Controllers/OData/SpecificationAttributeController.cs
index 265730902..6d61d53e4 100644
--- a/src/API/Grand.Api/Controllers/OData/SpecificationAttributeController.cs
+++ b/src/API/Grand.Api/Controllers/OData/SpecificationAttributeController.cs
@@ -13,7 +13,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class SpecificationAttributeController : BaseODataController
+ public class SpecificationAttributeController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/StoreController.cs b/src/API/Grand.Api/Controllers/OData/StoreController.cs
index 8d5559811..224445063 100644
--- a/src/API/Grand.Api/Controllers/OData/StoreController.cs
+++ b/src/API/Grand.Api/Controllers/OData/StoreController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class StoreController : BaseODataController
+ public class StoreController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/VendorController.cs b/src/API/Grand.Api/Controllers/OData/VendorController.cs
index 33a85b9ef..08b7e9ee5 100644
--- a/src/API/Grand.Api/Controllers/OData/VendorController.cs
+++ b/src/API/Grand.Api/Controllers/OData/VendorController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class VendorController : BaseODataController
+ public class VendorController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/Controllers/OData/WarehouseController.cs b/src/API/Grand.Api/Controllers/OData/WarehouseController.cs
index f7390162d..2837e1bbe 100644
--- a/src/API/Grand.Api/Controllers/OData/WarehouseController.cs
+++ b/src/API/Grand.Api/Controllers/OData/WarehouseController.cs
@@ -10,7 +10,7 @@ using System.Net;
namespace Grand.Api.Controllers.OData
{
- public partial class WarehouseController : BaseODataController
+ public class WarehouseController : BaseODataController
{
private readonly IMediator _mediator;
private readonly IPermissionService _permissionService;
diff --git a/src/API/Grand.Api/DTOs/Catalog/BrandDto.cs b/src/API/Grand.Api/DTOs/Catalog/BrandDto.cs
index b86971242..d6d957340 100644
--- a/src/API/Grand.Api/DTOs/Catalog/BrandDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/BrandDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class BrandDto : BaseApiEntityModel
+ public class BrandDto : BaseApiEntityModel
{
public string Name { get; set; }
public string SeName { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/CategoryDTO.cs b/src/API/Grand.Api/DTOs/Catalog/CategoryDTO.cs
index 5a26441b4..ec8f8ffbb 100644
--- a/src/API/Grand.Api/DTOs/Catalog/CategoryDTO.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/CategoryDTO.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class CategoryDto : BaseApiEntityModel
+ public class CategoryDto : BaseApiEntityModel
{
public string Name { get; set; }
public string Description { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/CollectionDto.cs b/src/API/Grand.Api/DTOs/Catalog/CollectionDto.cs
index 442f4e73d..78cf622eb 100644
--- a/src/API/Grand.Api/DTOs/Catalog/CollectionDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/CollectionDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class CollectionDto : BaseApiEntityModel
+ public class CollectionDto : BaseApiEntityModel
{
public string Name { get; set; }
public string SeName { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeCombinationDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeCombinationDto.cs
index 80c52c48c..8f1f4dd14 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeCombinationDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeCombinationDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductAttributeCombinationDto : BaseApiEntityModel
+ public class ProductAttributeCombinationDto : BaseApiEntityModel
{
public int StockQuantity { get; set; }
public int ReservedQuantity { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeDto.cs
index 8a0c5f5b4..340e3cef9 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductAttributeDto : BaseApiEntityModel
+ public class ProductAttributeDto : BaseApiEntityModel
{
public ProductAttributeDto()
{
@@ -13,7 +13,7 @@ namespace Grand.Api.DTOs.Catalog
public IList<PredefinedProductAttributeValueDto> PredefinedProductAttributeValues { get; set; }
}
- public partial class PredefinedProductAttributeValueDto : BaseApiEntityModel
+ public class PredefinedProductAttributeValueDto : BaseApiEntityModel
{
public string Name { get; set; }
public double PriceAdjustment { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDeleteDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDeleteDto.cs
index 0cc15d35d..941fd0227 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDeleteDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDeleteDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductAttributeMappingDeleteDto
+ public class ProductAttributeMappingDeleteDto
{
public string Id { get; set; }
}
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDto.cs
index f9c60ff1c..9139b1bf0 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductAttributeMappingDto.cs
@@ -3,7 +3,7 @@ using Grand.Api.Models;
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductAttributeMappingDto : BaseApiEntityModel
+ public class ProductAttributeMappingDto : BaseApiEntityModel
{
public ProductAttributeMappingDto()
{
@@ -25,7 +25,7 @@ namespace Grand.Api.DTOs.Catalog
}
- public partial class ProductAttributeValueDto: BaseApiEntityModel
+ public class ProductAttributeValueDto: BaseApiEntityModel
{
public string AssociatedProductId { get; set; }
public string Name { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDeleteDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDeleteDto.cs
index 9f773f77e..1d2158f24 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDeleteDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDeleteDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductCategoryDeleteDto
+ public class ProductCategoryDeleteDto
{
public string CategoryId { get; set; }
}
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDto.cs
index 921cc08e7..cd5bb91f7 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductCategoryDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductCategoryDto
+ public class ProductCategoryDto
{
[Key]
public string CategoryId { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDeleteDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDeleteDto.cs
index ef69bc997..0bea153dc 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDeleteDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDeleteDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductCollectionDeleteDto
+ public class ProductCollectionDeleteDto
{
public string CollectionId { get; set; }
}
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDto.cs
index ba29d1933..301623417 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductCollectionDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductCollectionDto
+ public class ProductCollectionDto
{
[Key]
public string CollectionId { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductDto.cs
index c74bf496e..8ff599c57 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductDto.cs
@@ -3,7 +3,7 @@ using Grand.Domain.Catalog;
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductDto : BaseApiEntityModel
+ public class ProductDto : BaseApiEntityModel
{
public ProductDto()
{
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductPictureDeleteDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductPictureDeleteDto.cs
index 0a39968f2..6fe93c003 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductPictureDeleteDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductPictureDeleteDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductPictureDeleteDto
+ public class ProductPictureDeleteDto
{
public string PictureId { get; set; }
}
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductPictureDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductPictureDto.cs
index 6f7765f74..08d1ba23a 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductPictureDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductPictureDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductPictureDto
+ public class ProductPictureDto
{
[Key]
public string PictureId { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDeleteDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDeleteDto.cs
index 9cd63d3e6..f8893bea2 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDeleteDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDeleteDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductSpecificationAttributeDeleteDto
+ public class ProductSpecificationAttributeDeleteDto
{
public string Id { get; set; }
}
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDto.cs
index 824c21e26..ca7c631f8 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductSpecificationAttributeDto.cs
@@ -3,7 +3,7 @@ using Grand.Domain.Catalog;
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductSpecificationAttributeDto : BaseApiEntityModel
+ public class ProductSpecificationAttributeDto : BaseApiEntityModel
{
public string SpecificationAttributeId { get; set; }
public string SpecificationAttributeOptionId { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDeleteDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDeleteDto.cs
index bba304da7..e8fa8c5f6 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDeleteDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDeleteDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductTierPriceDeleteDto
+ public class ProductTierPriceDeleteDto
{
public string Id { get; set; }
}
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDto.cs
index 6de10ce70..20fca0d30 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductTierPriceDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductTierPriceDto : BaseApiEntityModel
+ public class ProductTierPriceDto : BaseApiEntityModel
{
public string StoreId { get; set; }
public string CustomerGroupId { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/ProductWarehouseInventoryDto.cs b/src/API/Grand.Api/DTOs/Catalog/ProductWarehouseInventoryDto.cs
index 265b2a7db..3b8a1d17d 100644
--- a/src/API/Grand.Api/DTOs/Catalog/ProductWarehouseInventoryDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/ProductWarehouseInventoryDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class ProductWarehouseInventoryDto : BaseApiEntityModel
+ public class ProductWarehouseInventoryDto : BaseApiEntityModel
{
public string WarehouseId { get; set; }
public int StockQuantity { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Catalog/SpecificationAttributeDto.cs b/src/API/Grand.Api/DTOs/Catalog/SpecificationAttributeDto.cs
index b190d4abb..24346cc2f 100644
--- a/src/API/Grand.Api/DTOs/Catalog/SpecificationAttributeDto.cs
+++ b/src/API/Grand.Api/DTOs/Catalog/SpecificationAttributeDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Catalog
{
- public partial class SpecificationAttributeDto : BaseApiEntityModel
+ public class SpecificationAttributeDto : BaseApiEntityModel
{
public SpecificationAttributeDto()
{
@@ -13,7 +13,7 @@ namespace Grand.Api.DTOs.Catalog
public IList<SpecificationAttributeOptionDto> SpecificationAttributeOptions { get; set; }
}
- public partial class SpecificationAttributeOptionDto : BaseApiEntityModel
+ public class SpecificationAttributeOptionDto : BaseApiEntityModel
{
public string Name { get; set; }
public int DisplayOrder { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Common/CountryDto.cs b/src/API/Grand.Api/DTOs/Common/CountryDto.cs
index c8b512efd..5bb1924ab 100644
--- a/src/API/Grand.Api/DTOs/Common/CountryDto.cs
+++ b/src/API/Grand.Api/DTOs/Common/CountryDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Common
{
- public partial class CountryDto : BaseApiEntityModel
+ public class CountryDto : BaseApiEntityModel
{
private ICollection<StateProvinceDto> _stateProvinces;
diff --git a/src/API/Grand.Api/DTOs/Common/CurrencyDto.cs b/src/API/Grand.Api/DTOs/Common/CurrencyDto.cs
index b7aa89e45..f586a14a6 100644
--- a/src/API/Grand.Api/DTOs/Common/CurrencyDto.cs
+++ b/src/API/Grand.Api/DTOs/Common/CurrencyDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Common
{
- public partial class CurrencyDto : BaseApiEntityModel
+ public class CurrencyDto : BaseApiEntityModel
{
public string Name { get; set; }
public string CurrencyCode { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Common/LanguageDto.cs b/src/API/Grand.Api/DTOs/Common/LanguageDto.cs
index 5af314bda..bba58b309 100644
--- a/src/API/Grand.Api/DTOs/Common/LanguageDto.cs
+++ b/src/API/Grand.Api/DTOs/Common/LanguageDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Common
{
- public partial class LanguageDto : BaseApiEntityModel
+ public class LanguageDto : BaseApiEntityModel
{
public string Name { get; set; }
public string LanguageCulture { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Common/LayoutDto.cs b/src/API/Grand.Api/DTOs/Common/LayoutDto.cs
index 93d1b430e..3c7881fc3 100644
--- a/src/API/Grand.Api/DTOs/Common/LayoutDto.cs
+++ b/src/API/Grand.Api/DTOs/Common/LayoutDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Common
{
- public partial class LayoutDto : BaseApiEntityModel
+ public class LayoutDto : BaseApiEntityModel
{
public string Name { get; set; }
public int DisplayOrder { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Common/PictureDto.cs b/src/API/Grand.Api/DTOs/Common/PictureDto.cs
index 0e0f93902..55a69ef0e 100644
--- a/src/API/Grand.Api/DTOs/Common/PictureDto.cs
+++ b/src/API/Grand.Api/DTOs/Common/PictureDto.cs
@@ -3,7 +3,7 @@ using Grand.Domain.Common;
namespace Grand.Api.DTOs.Common
{
- public partial class PictureDto : BaseApiEntityModel
+ public class PictureDto : BaseApiEntityModel
{
public byte[] PictureBinary { get; set; }
public string MimeType { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Common/StoreDto.cs b/src/API/Grand.Api/DTOs/Common/StoreDto.cs
index 87e696c1a..45b2afb52 100644
--- a/src/API/Grand.Api/DTOs/Common/StoreDto.cs
+++ b/src/API/Grand.Api/DTOs/Common/StoreDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Common
{
- public partial class StoreDto : BaseApiEntityModel
+ public class StoreDto : BaseApiEntityModel
{
public string Name { get; set; }
public string Url { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Customers/AddressDto.cs b/src/API/Grand.Api/DTOs/Customers/AddressDto.cs
index c16f5acb8..52dea9b23 100644
--- a/src/API/Grand.Api/DTOs/Customers/AddressDto.cs
+++ b/src/API/Grand.Api/DTOs/Customers/AddressDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Customers
{
- public partial class AddressDto : BaseApiEntityModel
+ public class AddressDto : BaseApiEntityModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Customers/CustomerDto.cs b/src/API/Grand.Api/DTOs/Customers/CustomerDto.cs
index 500bf0c34..25ecea32e 100644
--- a/src/API/Grand.Api/DTOs/Customers/CustomerDto.cs
+++ b/src/API/Grand.Api/DTOs/Customers/CustomerDto.cs
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
namespace Grand.Api.DTOs.Customers
{
- public partial class CustomerDto : BaseApiEntityModel
+ public class CustomerDto : BaseApiEntityModel
{
public CustomerDto()
{
diff --git a/src/API/Grand.Api/DTOs/Customers/CustomerGroupDto.cs b/src/API/Grand.Api/DTOs/Customers/CustomerGroupDto.cs
index 3ce9ae56d..88ae924c8 100644
--- a/src/API/Grand.Api/DTOs/Customers/CustomerGroupDto.cs
+++ b/src/API/Grand.Api/DTOs/Customers/CustomerGroupDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Customers
{
- public partial class CustomerGroupDto : BaseApiEntityModel
+ public class CustomerGroupDto : BaseApiEntityModel
{
public string Name { get; set; }
public bool FreeShipping { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Customers/DeleteAddressDto.cs b/src/API/Grand.Api/DTOs/Customers/DeleteAddressDto.cs
index 7890716f1..220900138 100644
--- a/src/API/Grand.Api/DTOs/Customers/DeleteAddressDto.cs
+++ b/src/API/Grand.Api/DTOs/Customers/DeleteAddressDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Customers
{
- public partial class DeleteAddressDto
+ public class DeleteAddressDto
{
public string AddressId { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Customers/PasswordDto.cs b/src/API/Grand.Api/DTOs/Customers/PasswordDto.cs
index bd74a140a..53da68687 100644
--- a/src/API/Grand.Api/DTOs/Customers/PasswordDto.cs
+++ b/src/API/Grand.Api/DTOs/Customers/PasswordDto.cs
@@ -1,6 +1,6 @@
namespace Grand.Api.DTOs.Customers
{
- public partial class PasswordDto
+ public class PasswordDto
{
public string Password { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Customers/VendorDto.cs b/src/API/Grand.Api/DTOs/Customers/VendorDto.cs
index efebc9b80..585a77fe6 100644
--- a/src/API/Grand.Api/DTOs/Customers/VendorDto.cs
+++ b/src/API/Grand.Api/DTOs/Customers/VendorDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Customers
{
- public partial class VendorDto : BaseApiEntityModel
+ public class VendorDto : BaseApiEntityModel
{
public string Name { get; set; }
public string SeName { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Shipping/DeliveryDateDto.cs b/src/API/Grand.Api/DTOs/Shipping/DeliveryDateDto.cs
index c75bde0fc..a2168834a 100644
--- a/src/API/Grand.Api/DTOs/Shipping/DeliveryDateDto.cs
+++ b/src/API/Grand.Api/DTOs/Shipping/DeliveryDateDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Shipping
{
- public partial class DeliveryDateDto : BaseApiEntityModel
+ public class DeliveryDateDto : BaseApiEntityModel
{
public string Name { get; set; }
public int DisplayOrder { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Shipping/PickupPointDto.cs b/src/API/Grand.Api/DTOs/Shipping/PickupPointDto.cs
index 37c994529..b15f38c47 100644
--- a/src/API/Grand.Api/DTOs/Shipping/PickupPointDto.cs
+++ b/src/API/Grand.Api/DTOs/Shipping/PickupPointDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Shipping
{
- public partial class PickupPointDto : BaseApiEntityModel
+ public class PickupPointDto : BaseApiEntityModel
{
public string Name { get; set; }
public string Description { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Shipping/ShippingMethodDto.cs b/src/API/Grand.Api/DTOs/Shipping/ShippingMethodDto.cs
index 3c0f07f86..5733f92b1 100644
--- a/src/API/Grand.Api/DTOs/Shipping/ShippingMethodDto.cs
+++ b/src/API/Grand.Api/DTOs/Shipping/ShippingMethodDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Shipping
{
- public partial class ShippingMethodDto : BaseApiEntityModel
+ public class ShippingMethodDto : BaseApiEntityModel
{
public string Name { get; set; }
public string Description { get; set; }
diff --git a/src/API/Grand.Api/DTOs/Shipping/WarehouseDto.cs b/src/API/Grand.Api/DTOs/Shipping/WarehouseDto.cs
index 77d4b43b9..9002f7289 100644
--- a/src/API/Grand.Api/DTOs/Shipping/WarehouseDto.cs
+++ b/src/API/Grand.Api/DTOs/Shipping/WarehouseDto.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.DTOs.Shipping
{
- public partial class WarehouseDto : BaseApiEntityModel
+ public class WarehouseDto : BaseApiEntityModel
{
public string Name { get; set; }
public string AdminComment { get; set; }
diff --git a/src/API/Grand.Api/Infrastructure/ApiAuthenticationRegistrar.cs b/src/API/Grand.Api/Infrastructure/ApiAuthenticationRegistrar.cs
index df6b9c1ab..38197b159 100644
--- a/src/API/Grand.Api/Infrastructure/ApiAuthenticationRegistrar.cs
+++ b/src/API/Grand.Api/Infrastructure/ApiAuthenticationRegistrar.cs
@@ -10,7 +10,7 @@ using Microsoft.IdentityModel.Tokens;
namespace Grand.Api.Infrastructure
{
- public partial class ApiAuthenticationRegistrar : IAuthenticationBuilder
+ public class ApiAuthenticationRegistrar : IAuthenticationBuilder
{
public void AddAuthentication(AuthenticationBuilder builder, IConfiguration configuration)
{
diff --git a/src/API/Grand.Api/Infrastructure/ODataStartup.cs b/src/API/Grand.Api/Infrastructure/ODataStartup.cs
index 6e4d084ad..1d679995f 100644
--- a/src/API/Grand.Api/Infrastructure/ODataStartup.cs
+++ b/src/API/Grand.Api/Infrastructure/ODataStartup.cs
@@ -20,7 +20,7 @@ using Microsoft.OData.ModelBuilder;
namespace Grand.Api.Infrastructure
{
- public partial class ODataStartup : IStartupApplication
+ public class ODataStartup : IStartupApplication
{
public void Configure(IApplicationBuilder application, IWebHostEnvironment webHostEnvironment)
{
diff --git a/src/API/Grand.Api/Models/BaseApiEntityModel.cs b/src/API/Grand.Api/Models/BaseApiEntityModel.cs
index f8eabbdd0..ec479ce67 100644
--- a/src/API/Grand.Api/Models/BaseApiEntityModel.cs
+++ b/src/API/Grand.Api/Models/BaseApiEntityModel.cs
@@ -2,7 +2,7 @@
namespace Grand.Api.Models
{
- public partial class BaseApiEntityModel
+ public class BaseApiEntityModel
{
[Key]
public string Id { get; set; }