Ejemplo n.º 1
0
        public IActionResult DeleteListenerFromLectures(int id)
        {
            var userId = User.FindFirst(ClaimTypes.NameIdentifier).Value;

            _lectureService.DeleteListener(Convert.ToInt32(userId), id);
            return(Ok());
        }