예제 #1
0
        // POST api/register
        public RegistrationResponse Post([FromBody] RegistrationRequest request)
        {
            var response = new RegistrationResponse
            {
                StatusCode = "2",
                Message    = "You've been acquired!"
            };

            return(response);
        }
        // POST api/register
        public RegistrationResponse Post([FromBody]RegistrationRequest request)
        {
            var response = new RegistrationResponse
            {
                StatusCode = "2",
                Message = "You've been acquired!"
            };

            return response;
        }