示例#1
0
        public Task <IdentityResult> Register(RegisterRequestViewModel model)
        {
            var user = AccountHelper.MapAppUser(model);

            return(_accountDAL.Register(user, model.Password));
        }
示例#2
0
 public static int Register(string firstName, string lastName, string email, string password, string photo)
 {
     return(AccountDB.Register(firstName, lastName, email, password, photo));
 }