Exemplo n.º 1
0
 public ActionResult <IEnumerable <Vaultkeep> > Get()
 {
     try
     {
         return(Ok(_repo.GetAll()));
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }
Exemplo n.º 2
0
 public IEnumerable <Vaultkeep> Get()
 {
     return(_repo.GetAll());
 }