Browse Source

Removed unused usings and unified code formatting

pull/4346/head
Necati Meral 6 years ago
parent
commit
5646dce18a
  1. 4
      framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/AbstractKeyCrudAppService.cs
  2. 5
      framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/AbstractKeyReadOnlyAppService.cs
  3. 2
      framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs
  4. 11
      framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ReadOnlyAppService.cs

4
framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/AbstractKeyCrudAppService.cs

@ -1,10 +1,6 @@
using System;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.MultiTenancy;

5
framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/AbstractKeyReadOnlyAppService.cs

@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
@ -19,6 +16,7 @@ namespace Volo.Abp.Application.Services
protected AbstractKeyReadOnlyAppService(IRepository<TEntity> repository)
: base(repository)
{
}
}
@ -29,6 +27,7 @@ namespace Volo.Abp.Application.Services
protected AbstractKeyReadOnlyAppService(IRepository<TEntity> repository)
: base(repository)
{
}
}

2
framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs

@ -70,7 +70,7 @@ namespace Volo.Abp.Application.Services
protected new IRepository<TEntity, TKey> Repository { get; }
protected CrudAppService(IRepository<TEntity, TKey> repository)
: base(repository)
: base(repository)
{
Repository = repository;
}

11
framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ReadOnlyAppService.cs

@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
@ -16,8 +13,10 @@ namespace Volo.Abp.Application.Services
where TEntity : class, IEntity<TKey>
where TEntityDto : IEntityDto<TKey>
{
protected ReadOnlyAppService(IRepository<TEntity, TKey> repository) : base(repository)
protected ReadOnlyAppService(IRepository<TEntity, TKey> repository)
: base(repository)
{
}
}
@ -26,8 +25,10 @@ namespace Volo.Abp.Application.Services
where TEntity : class, IEntity<TKey>
where TEntityDto : IEntityDto<TKey>
{
protected ReadOnlyAppService(IRepository<TEntity, TKey> repository) : base(repository)
protected ReadOnlyAppService(IRepository<TEntity, TKey> repository)
: base(repository)
{
}
}

Loading…
Cancel
Save