public async Task <IActionResult> Delete([FromRoute] int id)
        {
            try
            {
                var verification = await SubRepo.Get(id);

                if (verification == null)
                {
                    throw new Exception("Informação não encontrada na base de dados.");
                }

                await SubRepo.Delete(verification);

                return(NoContent());
            }
            catch (Exception ex)
            {
                return(StatusCode(400, ex.Message));
            }
        }