public CommonResponse Exists([FromBody] List <SearchCondition> checkKeyValues)
        {
            var existsId = _service.Exists(checkKeyValues);

            return(new CommonResponse()
            {
                code = (int)ResponseCode.OK,
                data = new
                {
                    Exists = existsId > 0,
                    Id = existsId,
                }
            });
        }
 //verifica pelo id se o objeto existe
 private bool GenreExists(long id)
 => _service.Exists(id);