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)); }
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)); }