public IHttpActionResult CheckIfRegister(string userName, string password)
        {
            UsersLogic users   = new UsersLogic();
            var        results = users.CheckIfRegister(userName, password);

            if (results == 0)
            {
                return(NotFound());
            }
            else
            {
                return(Ok(results));
            }
        }