Skip to content

Commit

Permalink
support ng list
Browse files Browse the repository at this point in the history
  • Loading branch information
iammukeshm committed Oct 16, 2021
1 parent 5711173 commit 2751b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bootstrapper/Controllers/v1/BrandsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public BrandsController(IBrandService service)
_service = service;
}

[HttpGet]
[HttpPost("all")]
[MustHavePermission(Permissions.Brands.ListAll)]
public async Task<IActionResult> GetListAsync(BrandListFilter filter)
{
Expand All @@ -39,7 +39,7 @@ public async Task<IActionResult> UpdateAsync(UpdateBrandRequest request, Guid id
return Ok(await _service.UpdateBrandAsync(request, id));
}

[HttpDelete]
[HttpDelete("{id}")]
[MustHavePermission(Permissions.Brands.Remove)]
public async Task<IActionResult> DeleteAsync(Guid id)
{
Expand Down

0 comments on commit 2751b32

Please sign in to comment.