deletePost(ctx, payload) {
    return new Promise((resolve, reject) => {
      axios
        .delete(`admin/post/${payload.id}?token=${payload.token}`)
        .then(response => {
          resolve(response);
        })
        .catch(error => {
          reject(error);
        });
    });
  }
/**
    // Soft Delete Post { Move Post To Trash }
  **/
Soft Delete Post { Move Post To Trash }
Soft Delete Post { Move Post To Trash }
deletePost(ctx, payload) {
    return new Promise((resolve, reject) => {
      axios
        .delete(`admin/post/${payload.id}?token=${payload.token}`)
        .then(response => {
          resolve(response);
        })
        .catch(error => {
          reject(error);
        });
    });
  }
deletePost ( ctx , payload ) { return new Promise ( ( resolve , reject ) => { axios . delete ( ` ${ payload . id } ${ payload . token } ` ) . then ( response => { resolve ( response ) ; } ) . catch ( error => { reject ( error ) ; } ) ; } ) ; }
Soft Delete Post { Move Post To Trash }
Soft Delete Post { Move Post To Trash }