Guest User

Untitled

a guest
Oct 17th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. [Route("api/[controller]")]
  2. [ApiController]
  3. public class KeepAliveController : ControllerBase
  4. {
  5. [HttpPost]
  6. public IActionResult Post(KeepAliveContract keepAliveContract)
  7. {
  8. //
  9. }
  10. }
  11.  
  12. public interface IKeepAliveService
  13. {
  14. [Post("api/keepalive")]
  15. Task SendKeepAliveAsync(KeepAliveContract keepAliveContract);
  16. }
Add Comment
Please, Sign In to add comment