public Response AddActionToQueue(TestRequest r) { return(WcfRequestHandler.Try(() => { _testLogic.AddActionToQueue(r.Text); return new Response { Message = "Action added to queue", ResultCode = ResultCode.OK }; }, r)); }
public Response HelloWorld(TestRequest r) { //Try //Logic return(WcfRequestHandler.Try(() => { _testLogic.InsertData(r.Text); return new Response { Message = "Hello World", ResultCode = ResultCode.OK }; }, r)); }