Dear Team,
I need help in validations in Entity Framework with Swagger.
For Example - If I do not put any values for inputs - Locationcode, drivercode, isactive and isapproved, then it should return all the records. But, here , it takes LocationCode input as "string" and searches the data where locationcode is "string". How do I overcome this ?
--------
For Saving data, I need to make all the inputs compulsory.
Here, how do I make all the inputs compulsory ? and give user-friendly messages that - LocationCode is compulsory?
Please guide on this ..