Beispiel #1
0
 /// <summary>
 /// APP端修改用户信息
 /// </summary>
 /// <param name="opt">The opt.</param>
 /// <param name="model">The model.</param>
 /// <returns>true if XXXX, false otherwise.</returns>
 public static bool UpdateUserInfo(UserPropertyOptions opt, UserModel model)
 {
     using (var dal = FactoryDispatcher.UserFactory())
     {
         return(dal.UpdateUserInfo(opt, model));
     }
 }
Beispiel #2
0
 public AccountPropertiesController(DataContext db, IOptions <UserPropertyOptions> options)
 {
     Ensure.NotNull(db, "db");
     this.db      = db;
     this.options = options.Value;
 }