public async Task<LoginResponseDto> Login(LoginRequestDto model)
 {
     var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, true, false);
     var response = new LoginResponseDto 
     {
         WasSuccessful = result.Succeeded    
     };
     return response;
 }
        public async Task <LoginResponseDto> Login(LoginRequestDto model)
        {
            var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, true, false);

            var response = new LoginResponseDto
            {
                WasSuccessful = result.Succeeded
            };

            return(response);
        }