Esempio n. 1
0
 public IActionResult GetMany()
 {
     try
     {
         var vendors = vendorServ.GetMany();
         return(Ok(vendors));
     }
     catch (Exception ex)
     {
         Console.Error.WriteLine(ex.Message);
         return(StatusCode(500));
     }
 }