public ActionResult <EmprestimoViewModel> Details(int id)
        {
            var result = _emprestimoService.GetEmprestimoDetalhes(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(result);
        }