Skip to content
Snippets Groups Projects
Commit aaa07520 authored by esantangelo's avatar esantangelo
Browse files

commit

parent a9937849
No related branches found
No related tags found
1 merge request!5Multi tenancy
...@@ -56,16 +56,7 @@ namespace Tsi1.BusinessLayer.Services ...@@ -56,16 +56,7 @@ namespace Tsi1.BusinessLayer.Services
{ {
var result = new ServiceResult<User>(); var result = new ServiceResult<User>();
var user = new User() var user = _mapper.Map<User>(dto);
{
UserTypeId = dto.UserTypeId,
Username = dto.Username,
Password = dto.Password,
Email = dto.Email,
FirstName = dto.FirstName,
LastName = dto.LastName,
TenantId = dto.TenantId
};
if (type == UserTypes.Student) if (type == UserTypes.Student)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment