Esempio n. 1
0
 public IHttpActionResult CreateUser([FromBody] User user)
 {
     try
     {
         return(Ok(_user.CreateUser(user)));
     }
     catch (Exception e)
     {
         return(Ok(false));
     }
 }