GetDatabaseSchemaVersion()
Get the MTOA Database Schema version
Description
Get the current version of the MTOA Database Schema
Package Details
Interface
IAppManager
Syntax
AppManager.GetDatabaseSchemaVersion()
Returns
Task<string>
API
[GET] /api/v1/mtoa-db-schema-version
Returns
string
The MTOA database schema version
Example
var schemaVersion = await appManager.GetDatabaseSchemaVersion();
Response.Write($@"The current schema version is: {schemaVersion}");