Example #1
0
        public async Task <RoleDto> addAsync(RoleDto roleDto)
        {
            var role1 = roleDto.RoleDtoToRole();
            var role2 = await _roleRepository.AddAsync(role1);

            return(role2.RoleToRoleDto());
        }