Esempio n. 1
0
        public async Task <IActionResult> PostUser([FromBody] User user)
        {
            Debug.WriteLine($"User post request with {JsonConvert.SerializeObject(user)}");
            var userId = await _dataAccessService.AddUser(user.Username, user.MachineName);

            return(Ok(userId));
        }