public async Task <IActionResult> GetByCustomer(int customerId) { var list = await ReservationLogic.GetByCustomerId(GetToken(), GetDepartmentCode(), customerId); if (!list.Any()) { return(NotFound()); } return(Ok(list)); }