Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Route("api/[controller]")]
- [ApiController]
- public class KeepAliveController : ControllerBase
- {
- [HttpPost]
- public IActionResult Post(KeepAliveContract keepAliveContract)
- {
- //
- }
- }
- public interface IKeepAliveService
- {
- [Post("api/keepalive")]
- Task SendKeepAliveAsync(KeepAliveContract keepAliveContract);
- }
Add Comment
Please, Sign In to add comment