Basic Controller with Service

Basic usage of Vovk Controller and Service.

BasicService.ts
BasicControllerWithService.ts
BasicExampleWithService.tsx
1export default class BasicService {
2 /**
3 * Return a greeting
4 */
5 static getHello() {
6 return { greeting: 'Hello world!' };
7 }
8}
1export default class BasicService {
2 /**
3 * Return a greeting
4 */
5 static getHello() {
6 return { greeting: 'Hello world!' };
7 }
8}