コード例 #1
0
        public async Task <IActionResult> PostApplication([FromBody] Application application)
        {
            Debug.WriteLine($"Application post request with {JsonConvert.SerializeObject(application)}");
            var applicationId = await _dataAccessService.AddApplication(application.UserId, application.Name);

            return(Ok(applicationId));
        }