Minor refactor.

pull/272/head
Halil İbrahim Kalkan 8 years ago
parent d682802e50
commit 3221924b99

@ -8,6 +8,7 @@ using Volo.Abp.Http.Modeling;
using Volo.Abp.Modularity;
using Volo.Abp.ObjectMapping;
using Volo.Abp.Security;
using Volo.Abp.Uow;
using Volo.Abp.Validation;
namespace Volo.Abp.Application
@ -26,6 +27,8 @@ namespace Volo.Abp.Application
{
options.IgnoredInterfaces.AddIfNotContains(typeof(IRemoteService));
options.IgnoredInterfaces.AddIfNotContains(typeof(IApplicationService));
options.IgnoredInterfaces.AddIfNotContains(typeof(IUnitOfWorkEnabled)); //TODO: Move to it's own module if possible?
options.IgnoredInterfaces.AddIfNotContains(typeof(IAuthorizationEnabled)); //TODO: Move to it's own module if possible?
});
services.AddAssemblyOf<AbpDddApplicationModule>();

@ -1,8 +1,9 @@
using Volo.Abp.ApiVersioning;
using Volo.Abp.Application.Services;
namespace Volo.Abp.AspNetCore.Mvc.Versioning.App.Compat
{
public class TodoAppService : ITodoAppService
public class TodoAppService : ApplicationService, ITodoAppService
{
private readonly IRequestedApiVersion _requestedApiVersion;

@ -1,8 +1,9 @@
using Volo.Abp.ApiVersioning;
using Volo.Abp.Application.Services;
namespace Volo.Abp.AspNetCore.Mvc.Versioning.App
{
public class TodoAppService : ITodoAppService
public class TodoAppService : ApplicationService, ITodoAppService
{
private readonly IRequestedApiVersion _requestedApiVersion;

Loading…
Cancel
Save