Skip to content

Commit b08e283

Browse files
committed
Refactored application layer.
1 parent f2a471c commit b08e283

File tree

7 files changed

+8
-19
lines changed

7 files changed

+8
-19
lines changed

src/AbpCompanyName.AbpProjectName.Application/MultiTenancy/Dto/CreateTenantInput.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
using System.ComponentModel.DataAnnotations;
2-
using Abp.Application.Services.Dto;
32
using Abp.AutoMapper;
43
using Abp.MultiTenancy;
54
using AbpCompanyName.AbpProjectName.Users;
65

76
namespace AbpCompanyName.AbpProjectName.MultiTenancy.Dto
87
{
98
[AutoMapTo(typeof(Tenant))]
10-
public class CreateTenantInput : IInputDto
9+
public class CreateTenantInput
1110
{
1211
[Required]
1312
[StringLength(AbpTenantBase.MaxTenancyNameLength)]

src/AbpCompanyName.AbpProjectName.Application/Roles/Dto/UpdateRolePermissionsInput.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
using System.Collections.Generic;
22
using System.ComponentModel.DataAnnotations;
3-
using Abp.Application.Services.Dto;
43

54
namespace AbpCompanyName.AbpProjectName.Roles.Dto
65
{
7-
public class UpdateRolePermissionsInput : IInputDto
6+
public class UpdateRolePermissionsInput
87
{
98
[Range(1, int.MaxValue)]
109
public int RoleId { get; set; }

src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.Linq;
1+
using System.Linq;
32
using System.Threading.Tasks;
43
using Abp.Authorization;
54
using AbpCompanyName.AbpProjectName.Authorization.Roles;

src/AbpCompanyName.AbpProjectName.Application/Sessions/Dto/GetCurrentLoginInformationsOutput.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using Abp.Application.Services.Dto;
2-
3-
namespace AbpCompanyName.AbpProjectName.Sessions.Dto
1+
namespace AbpCompanyName.AbpProjectName.Sessions.Dto
42
{
5-
public class GetCurrentLoginInformationsOutput : IOutputDto
3+
public class GetCurrentLoginInformationsOutput
64
{
75
public UserLoginInfoDto User { get; set; }
86

src/AbpCompanyName.AbpProjectName.Application/Sessions/ISessionAppService.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
using System.Threading.Tasks;
62
using Abp.Application.Services;
73
using AbpCompanyName.AbpProjectName.Sessions.Dto;
84

src/AbpCompanyName.AbpProjectName.Application/Users/Dto/CreateUserInput.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
using System.ComponentModel.DataAnnotations;
2-
using Abp.Application.Services.Dto;
32
using Abp.Auditing;
43
using Abp.Authorization.Users;
54
using Abp.AutoMapper;
65

76
namespace AbpCompanyName.AbpProjectName.Users.Dto
87
{
98
[AutoMap(typeof(User))]
10-
public class CreateUserInput : IInputDto
9+
public class CreateUserInput
1110
{
1211
[Required]
1312
[StringLength(AbpUserBase.MaxUserNameLength)]

src/AbpCompanyName.AbpProjectName.Application/Users/Dto/ProhibitPermissionInput.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
using System.ComponentModel.DataAnnotations;
2-
using Abp.Application.Services.Dto;
32

43
namespace AbpCompanyName.AbpProjectName.Users.Dto
54
{
6-
public class ProhibitPermissionInput : IInputDto
5+
public class ProhibitPermissionInput
76
{
87
[Range(1, long.MaxValue)]
98
public int UserId { get; set; }

0 commit comments

Comments
 (0)