Exemplo n.º 1
0
 public IActionResult GetLocationByName(string name)
 {
     try
     {
         return(Ok(_locationServices.GetLocationByName(name)));
     }
     catch (Exception)
     {
         return(StatusCode(500));
     }
 }