as is
This commit is contained in:
@@ -2,6 +2,7 @@ using System.Data.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StopShopping.EF;
|
||||
using StopShopping.Services.Models;
|
||||
using StopShopping.Services.Models.Req;
|
||||
using StopShopping.Services.Models.Resp;
|
||||
|
||||
@@ -182,8 +183,8 @@ public class CategoryService : ICategoryService
|
||||
{
|
||||
Id = model.Id,
|
||||
LogoUrl = string.IsNullOrWhiteSpace(model.Logo)
|
||||
? ""
|
||||
: _fileService.GetFileUrl(Models.UploadScences.Category, model.Logo),
|
||||
? ""
|
||||
: _fileService.GetFileUrl(UploadScences.Category, model.Logo),
|
||||
Name = model.Name,
|
||||
Order = model.Order,
|
||||
ParentId = model.ParentId,
|
||||
|
||||
Reference in New Issue
Block a user