コード例 #1
0
 public int AddUser([FromBody] UserDTO user)
 {
     // Console.WriteLine(u.ToString());
     // Communication Communication =
     // UserDTO user=  date.User;
     //  UserDTO user= date["User"].ToObject<UserDTO>();
     // user.Communication_ways= date["Communication"]!=null?date["Communication"].ToObject<Communication>():null;
     // user.Bank_Details= date["Bank"] != null?date["Bank"].ToObject<Bank_details>():null;
     return(UserBL.AddnewUser(user));
 }