Esempio n. 1
0
        public async Task <ActionResult> AddUser(Users users)
        {
            _postRepository.AddUser(users);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetUsers", new { id = users.UserId }, users));
        }