public ActionResult <Imposto> Get([FromServices] ImpostoDAO dao, int id)
 {
     try
     {
         return(dao.Get(id));
     }
     catch (Exception e) {
         return(new StatusCodeResult(400));
     }
 }
 public ActionResult <IEnumerable <Imposto> > Get([FromServices] ImpostoDAO dao)
 {
     try
     {
         return(dao.Get().ToList());
     }
     catch (Exception e) {
         return(new StatusCodeResult(400));
     }
 }