public HttpResponseMessage GetObterPorCategoria(Guid categoriaId)
        {
            if (categoriaId == null)
            {
                return(Request.CreateResponse(HttpStatusCode.BadRequest));
            }

            var result = _tarefaRepository.ObterPorCategoria(categoriaId);

            return(Request.CreateResponse(HttpStatusCode.OK, result));
        }