benrr101 / dolomite

Backend WCF service for Dolomite
Other
2 stars 0 forks source link

WebUtilities.TryAction #31

Open benrr101 opened 10 years ago

benrr101 commented 10 years ago

There could be a major cleanup of the action code if the webutilities class exposes methods that perform a given action via a delegate/lambda, validate session information, and handle the exception handling (custom exception handling could be passed in, as well, via lambdas). This could clear up the duplicated code all over the place for handling 500 errors and 403 errors.