public async Task <IActionResult> Delete(long id)
        {
            var userId = _validateHelper.GetUserId(HttpContext);

            try
            {
                var result = await _labelService.GetByIdAsync(userId, id);

                if (result == null)
                {
                    return(NotFound());
                }
            }
            catch (ForbidException)
            {
                return(Forbid());
            }

            if (!await _labelService.DeleteAsync(id))
            {
                return(BadRequest());
            }

            return(Ok());
        }