Skip to content

REST Controllers examples

Ushakov Michael edited this page Sep 18, 2025 · 17 revisions

1 Introduction

This page contains examples of how to Create REST Controllers with Wissance.WebApiToolkit.

1.1 ReadOnly REST Controller

This controller class contains the following methods:

  • GET /api/[controller]/?[page={page}&size={size}&sort={sort}&order={order}] to get collection of PagedDataDto<T>
  • GET /api/[controller]/{id} to get one object by id

Clone this wiki locally