コード例 #1
0
        public Task <JsonResult> Post([FromBody] SetupCofoundryCommandDto dto)
        {
            var command = new SetupCofoundryCommand()
            {
                ApplicationName = dto.ApplicationName,
                Email           = dto.Email,
                DisplayName     = dto.DisplayName,
                Password        = dto.Password
            };

            return(_apiResponseHelper.RunCommandAsync(command));
        }
コード例 #2
0
        public async Task <IActionResult> Post([FromBody] SetupCofoundryCommandDto dto)
        {
            var command = new SetupCofoundryCommand()
            {
                ApplicationName = dto.ApplicationName,
                UserEmail       = dto.UserEmail,
                UserFirstName   = dto.UserFirstName,
                UserLastName    = dto.UserLastName,
                UserPassword    = dto.UserPassword
            };

            return(await _apiResponseHelper.RunCommandAsync(this, command));
        }