public ReturnObject GetAll([FromBody] Query query)
        {
            ReturnObject obj     = new ReturnObject();
            DaoUser      daoUser = new DaoUser(bookingServicesContext);

            try
            {
                var data = daoUser.GetAll(query.PageIndex, query.PageSize);
                if (data != null)
                {
                    obj.status = 200;
                    obj.data   = data;
                }
                else
                {
                    obj.status = 404;
                }
            }
            catch (Exception ex)
            {
                obj.status  = 404;
                obj.message = ex.StackTrace;
            }
            return(obj);
        }