예제 #1
0
        public async Task <IActionResult> CreateProfile([FromForm] CreateProfileCommand command)
        {
            var response = await _handler.Handler(command);

            return(response.Success ? StatusCode(201, response) : StatusCode(400, response));
        }