Click here to Skip to main content
15,902,189 members

Comments by Nayan Ambaliya (Top 44 by date)

Nayan Ambaliya 17-Oct-17 23:11pm View    
This is good. I am always inclined towards how to create such utility methods and utilize them in the code.

Thanks.
Nayan Ambaliya 17-Oct-17 1:38am View    
Does this mean that multiple calls to a static method by different clients with input variables (as in the question) will not overwrite the input variable value as well as the HttpResponse as inside the method?
Nayan Ambaliya 16-Oct-17 23:53pm View    
Sorry, that was my bad. I have changed and improved the question.
Would you by any chance shed some light on this?

Thanks.
Nayan Ambaliya 16-Oct-17 21:33pm View    
I think that the object you are serializing when calling the web service has a property mismatch (spelling mistake or non-existent property) with the class object which is the input to the web method.

Check the properties you pass as JSON as an input

It might be correct - but just one failure point.
Nayan Ambaliya 16-Oct-16 19:49pm View    
Thanks Keviniano, I think you are probably in the right direction, but, I would like the end result on the SUM of working hours and its comparison on fortnightly basis. So if the SUM of the working hours in the current fortnight and the next fortnight changes then there should be two entries in the end result table. For example,

Test user 01/01/2010 to 31/12/2016 75 hours per fortnight -- i.e. the test user works 75 hours per fortnight in between the dates 01/01/2010 to 31/12/2016
Test user 01/01/2017 to 31/03/2017 40 hours per fortnight -- i.e. the test user works 40 hours per fotnight in between the dates 01/01/2017 to 31/03/2017
Test user 01/04/2017 to 31/12/2020 75 hours per fortnight -- i.e. the test user has changed back to working 75 hours per fortnight from 01/04/2017 to 31/12/2020