public IActionResult GetOutletsByName(string name) { try { return(Ok(_outletService.GetOutletsByName(name))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }