naming
This commit is contained in:
@@ -20,8 +20,8 @@ namespace Webshop.Application.Services.Admin
|
||||
|
||||
public async Task<IEnumerable<CategoryDto>> GetAllAsync()
|
||||
{
|
||||
var categories = await _categoryRepository.GetAllAsync();
|
||||
return categories.Select(c => new CategoryDto
|
||||
var categorys = await _categoryRepository.GetAllAsync();
|
||||
return categorys.Select(c => new CategoryDto
|
||||
{
|
||||
Id = c.Id,
|
||||
Name = c.Name,
|
||||
|
||||
Reference in New Issue
Block a user