C#
How i will return status code & message depend on condition in API?
Here when user try to get data entering id. If user enter id zero(0) then it’s called BadRequest which return
Read moreHow i will pass parameter & set it’s type in API?
Here i set id which type int and passed the int type id in GetVilla function.
Read moreC# Properties, Class & Method
A property is like a combination of a variable and a method, and it has two methods: a get and a set method: C#
Read more