diff --git a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs index 91cdbaf8e..bb1740ad2 100644 --- a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs +++ b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs @@ -160,7 +160,7 @@ namespace IRaCIS.Application.Contracts public class UserCommand : UserInfo { - public string RoutUrl { get; set; } = string.Empty; + public string RouteUrl { get; set; } = string.Empty; //public string FirstName { get; set; } //public string LastName { get; set; } diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 96a6300b7..89cfe5ef3 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -480,7 +480,7 @@ namespace IRaCIS.Application.Services var success = await _userRepository.SaveChangesAsync(); - await _mailVerificationService.AddUserSendEmailAsync(saveItem.Id, userAddModel.RoutUrl); + await _mailVerificationService.AddUserSendEmailAsync(saveItem.Id, userAddModel.RouteUrl); return ResponseOutput.Result(success, new UserAddedReturnDTO { Id = saveItem.Id, UserCode = saveItem.UserCode });