Skip to content

Commit ea3dc65

Browse files
committed
removed IInputDto adn IOutputDto
1 parent 48f8675 commit ea3dc65

File tree

7 files changed

+8
-16
lines changed

7 files changed

+8
-16
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/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/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; }

src/AbpCompanyName.AbpProjectName.WebMpa/Models/Account/RegisterViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
using System.Collections.Generic;
22
using System.ComponentModel.DataAnnotations;
33
using System.Text.RegularExpressions;
4-
using Abp.Application.Services.Dto;
54
using AbpCompanyName.AbpProjectName.MultiTenancy;
65
using AbpCompanyName.AbpProjectName.Users;
76

87
namespace AbpCompanyName.AbpProjectName.WebMpa.Models.Account
98
{
10-
public class RegisterViewModel : IInputDto, IValidatableObject
9+
public class RegisterViewModel : IValidatableObject
1110
{
1211
/// <summary>
1312
/// Not required for single-tenant applications.

src/AbpCompanyName.AbpProjectName.WebSpaAngular/Models/Account/RegisterViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
using System.Collections.Generic;
22
using System.ComponentModel.DataAnnotations;
33
using System.Text.RegularExpressions;
4-
using Abp.Application.Services.Dto;
54
using Abp.Auditing;
65
using AbpCompanyName.AbpProjectName.MultiTenancy;
76
using AbpCompanyName.AbpProjectName.Users;
87

98
namespace AbpCompanyName.AbpProjectName.WebSpaAngular.Models.Account
109
{
11-
public class RegisterViewModel : IInputDto, IValidatableObject
10+
public class RegisterViewModel : IValidatableObject
1211
{
1312
/// <summary>
1413
/// Not required for single-tenant applications.

0 commit comments

Comments
 (0)