Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EShop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
EShop
Commits
b57722cf
Commit
b57722cf
authored
May 02, 2020
by
gdlcf88
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close #21: Change NotImplementedException to NotSupportedException
parent
af143ef3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
ProductDetailHistoryAppService.cs
.../ProductDetailHistories/ProductDetailHistoryAppService.cs
+3
-3
ProductDetailAppService.cs
.../EShop/Products/ProductDetails/ProductDetailAppService.cs
+1
-1
ProductHistoryAppService.cs
...hop/Products/ProductHistories/ProductHistoryAppService.cs
+3
-3
ProductAppService.cs
...tion/EasyAbp/EShop/Products/Products/ProductAppService.cs
+2
-2
No files found.
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductDetailHistories/ProductDetailHistoryAppService.cs
View file @
b57722cf
...
...
@@ -35,19 +35,19 @@ namespace EasyAbp.EShop.Products.ProductDetailHistories
[
RemoteService
(
false
)]
public
override
Task
<
ProductDetailHistoryDto
>
CreateAsync
(
object
input
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
[
RemoteService
(
false
)]
public
override
Task
<
ProductDetailHistoryDto
>
UpdateAsync
(
Guid
id
,
object
input
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
[
RemoteService
(
false
)]
public
override
Task
DeleteAsync
(
Guid
id
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductDetails/ProductDetailAppService.cs
View file @
b57722cf
...
...
@@ -65,7 +65,7 @@ namespace EasyAbp.EShop.Products.ProductDetails
[
RemoteService
(
false
)]
public
override
Task
DeleteAsync
(
Guid
id
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
protected
virtual
async
Task
CheckStoreIsProductOwnerAsync
(
Guid
productId
,
Guid
storeId
)
...
...
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductHistories/ProductHistoryAppService.cs
View file @
b57722cf
...
...
@@ -35,19 +35,19 @@ namespace EasyAbp.EShop.Products.ProductHistories
[
RemoteService
(
false
)]
public
override
Task
<
ProductHistoryDto
>
CreateAsync
(
object
input
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
[
RemoteService
(
false
)]
public
override
Task
<
ProductHistoryDto
>
UpdateAsync
(
Guid
id
,
object
input
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
[
RemoteService
(
false
)]
public
override
Task
DeleteAsync
(
Guid
id
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
}
}
\ No newline at end of file
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/Products/ProductAppService.cs
View file @
b57722cf
...
...
@@ -199,14 +199,14 @@ namespace EasyAbp.EShop.Products.Products
[
RemoteService
(
false
)]
public
override
Task
DeleteAsync
(
Guid
id
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
[
Obsolete
(
"Should use GetAsync(Guid id, Guid storeId)"
)]
[
RemoteService
(
false
)]
public
override
Task
<
ProductDto
>
GetAsync
(
Guid
id
)
{
throw
new
Not
Implemen
tedException
();
throw
new
Not
Suppor
tedException
();
}
public
virtual
async
Task
<
ProductDto
>
GetAsync
(
Guid
id
,
Guid
storeId
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment