예제 #1
0
        protected OkObjectResult SuccessResponse(object result)
        {
            var response = new SuccessResponse(result);

            return(Ok(response));
        }
예제 #2
0
        protected OkObjectResult SuccessResponse(string successCode)
        {
            var response = new SuccessResponse(SuccessConstants.GetSuccessMessage(successCode));

            return(Ok(response));
        }