mirror of https://github.com/abpframework/abp.git
committed by
GitHub
18 changed files with 246 additions and 54 deletions
@ -1,19 +0,0 @@ |
|||
using Microsoft.AspNetCore.Builder; |
|||
using Microsoft.AspNetCore.Hosting; |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
using Microsoft.Extensions.Logging; |
|||
|
|||
namespace Volo.CmsKit; |
|||
|
|||
public class Startup |
|||
{ |
|||
public void ConfigureServices(IServiceCollection services) |
|||
{ |
|||
services.AddApplication<CmsKitWebUnifiedModule>(); |
|||
} |
|||
|
|||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) |
|||
{ |
|||
app.InitializeApplication(); |
|||
} |
|||
} |
|||
@ -1,8 +1,14 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Domain.Repositories; |
|||
|
|||
namespace Volo.CmsKit.Menus; |
|||
|
|||
public interface IMenuItemRepository : IBasicRepository<MenuItem, Guid> |
|||
{ |
|||
Task<List<MenuItem>> GetOrderedListAsync(bool includeDetails = false, CancellationToken cancellationToken = default); |
|||
|
|||
Task<int> GetHighestMenuOrderAsync(Guid? parentId = null, CancellationToken cancellationToken = default); |
|||
} |
|||
|
|||
Loading…
Reference in new issue