public async Task <RoleDto> addAsync(RoleDto roleDto) { var role1 = roleDto.RoleDtoToRole(); var role2 = await _roleRepository.AddAsync(role1); return(role2.RoleToRoleDto()); }
public async Task <RoleDto> addAsync(RoleDto roleDto) { var role1 = roleDto.RoleDtoToRole(); var role2 = await _roleRepository.AddAsync(role1); return(role2.RoleToRoleDto()); }