Skip to content

Commit

Permalink
Merge pull request #18 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
fix method with body
  • Loading branch information
Ali-YousefiTelori authored Jul 29, 2023
2 parents bfbeed8 + 8ce4c3a commit 8504d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Platforms>AnyCPU;x64;x86</Platforms>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.11</Version>
<Version>0.0.0.12</Version>
<Description>asp core servces.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>core,cores,base,database,services,asp,aspnet</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public virtual Task<MessageContract<TResponseContract>> GetById(TId id, Cancella
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[HttpGet]
[HttpPost]
public virtual Task<MessageContract<TResponseContract>> GetByUniqueIdentity(GetUniqueIdentityRequest request, CancellationToken cancellationToken = default)
{
return ContractLogic.GetByUniqueIdentity(request, OnGetQuery(), cancellationToken);
Expand Down Expand Up @@ -112,7 +112,7 @@ public virtual Task<MessageContract<List<TResponseContract>>> GetAll(Cancellatio
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[HttpGet]
[HttpPost]
public virtual Task<MessageContract<List<TResponseContract>>> GetAllByUniqueIdentity(GetUniqueIdentityRequest request, CancellationToken cancellationToken = default)
{
return ContractLogic.GetAllByUniqueIdentity(request, OnGetAllQuery(), cancellationToken);
Expand Down

0 comments on commit 8504d06

Please sign in to comment.