public async Task <Result <TokenDto> > LoginAsync(LoginDto loginDto)
        {
            var defaultReject = new Result <TokenDto>(Status.Unauthorized, "Login or Password is not valid");
            var exists        = await _developerRepository.ExistByLoginAsync(loginDto.Login);

            if (!exists)
            {
                return(defaultReject);
            }
            var developer = await _developerRepository.FindByLoginAsync(loginDto.Login);

            if (!developer.ValidatePassword(loginDto.Password))
            {
                return(defaultReject);
            }
            return(new Result <TokenDto>(await GenerateJwtTokenAsync(developer)));
        }