public async Task <ServiceResponseResult> SendCode(AuthCodeCreateReqModel model, long userId, long locationId)
        {
            Logger.WriteInformation("Sending auth code data.");
            var user = await _context.User.FirstOrDefaultAsync(x => x.Id == userId);

            var emailData = await _emailService.ConstructAuthCodeSending(model.Code);

            await _emailSender.SendMailViaSmtpClientAsync(new string[] { user.Email }, new string[] { }, new string[] { }, emailData);

            return(new ServiceResponseResult
            {
                StatusCode = System.Net.HttpStatusCode.OK
            });
        }