예제 #1
0
 public IActionResult GetOutlets()
 {
     try
     {
         return(Ok(_outletService.GetOutlets()));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }
예제 #2
0
 public IActionResult GetOutlets()
 {
     return(Ok(_outletData.GetOutlets()));
 }