how to complete with less line of code help
- public bool CancelTicket(User user
- {
- if (CancelledBy == user.Passenger)
- return true;
- if (CancelledBy == user.Admin)
- return true;
- return false;
- }
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Nov 11, 2020, 12:19 AM
Rajesh SharmaPosted Nov 11, 2020, 3:19 AM
Sachin SinghPosted Nov 11, 2020, 12:52 AM