コード例 #1
0
        public IHttpActionResult Create(AppUser user)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var result = _userBusinessLogic.Create(user, user.Password);

            return(Ok(result));
        }