35 lines
990 B
Cheetah
35 lines
990 B
Cheetah
$GENERATED_CS_COMMENT
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Swashbuckle.AspNetCore.Annotations;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Swashbuckle.AspNetCore.SwaggerGen;
|
|
using Newtonsoft.Json;
|
|
using ${env['packagename']}.Attributes;
|
|
using ${env['packagename']}.Models;
|
|
using ${env['packagename']}.Controllers;
|
|
|
|
namespace ${env['packagename']}.Implementations
|
|
{
|
|
public class RegularApiImplementation : RegularApiController
|
|
{
|
|
#for $operation in $operations
|
|
public override IActionResult ${operation['func']}() {
|
|
return new ObjectResult();
|
|
}
|
|
|
|
#end for
|
|
|
|
public override IActionResult CyclesStartCycle([FromBody]MCycle mCycle) {
|
|
return StatusCode(200, default(MCycle));
|
|
}
|
|
|
|
public override IActionResult CyclesStopCycle([FromBody]CycleId cycleId) {
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|