/// <summary>
        /// Signs the customer into the backoffice.
        /// </summary>
        /// <param name="loginName">The customer's login name</param>
        /// <param name="password">The customer's password</param>
        /// <returns>Whether or not the customer was successfully signed in.</returns>
        public bool SignIn(string loginName, string password)
        {
            object oCustomerID = null;

            var command = new SqlHelper();

            oCustomerID = command.GetField("AuthenticateCustomer {0}, {1}", loginName, password);

            if (oCustomerID == null)
            {
                return(false);
            }
            else
            {
                // Save the login name into a cookie.
                SetLoginNameCookie(loginName);
                return(CreateFormsAuthenticationTicket((int)oCustomerID));
            }
        }
        /// <summary>
        /// Signs the customer into the backoffice.
        /// </summary>
        /// <param name="loginName">The customer's login name</param>
        /// <param name="password">The customer's password</param>
        /// <returns>Whether or not the customer was successfully signed in.</returns>
        public bool SignIn(string loginName, string password)
        {
            object oCustomerID  = null;

            var command = new SqlHelper();
            oCustomerID = command.GetField("AuthenticateCustomer {0}, {1}", loginName, password);

            if (oCustomerID == null) return false;
            else
            {
                // Save the login name into a cookie.
                SetLoginNameCookie(loginName);
                return CreateFormsAuthenticationTicket((int)oCustomerID);
            }
        }