public IActionResult Post(MdlUsers objUser)
        {
            _logger.LogInformation("In : LoginController - Post.");
            int result = _iLoginRepo.Create(objUser);

            if (result == 1)
            {
                _logger.LogInformation("Out : User created successfully.");
                return(this.StatusCode(StatusCodes.Status201Created, "User created successfully."));
            }
            _logger.LogError("Out :Internal Server Error.");
            return(this.StatusCode(StatusCodes.Status500InternalServerError, "Internal Server Error."));
        }
        public int Create(MdlUsers objUser)
        {
            int    result   = 0;
            string strQuery = "";

            objUser.password = BCrypt.Net.BCrypt.HashPassword(objUser.password);
            objUser.isActive = true;
            objUser.id       = 0;
            objUser.user_id  = "";
            objUser.phone    = "";
            strQuery         = @"Insert into Users(first_name, last_name, email, phone, password, isActive) values(@first_name, @last_name, @email, @phone, @password, @isActive)";
            result           = _dbConnection.Execute(strQuery, objUser);
            return(result);
        }