Exemplo n.º 1
0
        public ActionResult <Beat> LastBeat()
        {
            var lastBeat = _beatService.LastBeat();

            return(Ok(lastBeat));
        }
Exemplo n.º 2
0
        public async Task <ActionResult <Beat> > LastBeat()
        {
            var lastBeat = await _beatService.LastBeat();

            return(Ok(lastBeat));
        }