public async Task <ActionResult> Delete(int id)
        {
            if (await service.Delete(id))
            {
                return(NoContent());
            }

            return(StatusCode(StatusCodes.Status500InternalServerError));
        }