public Task <IdentityResult> Register(RegisterRequestViewModel model) { var user = AccountHelper.MapAppUser(model); return(_accountDAL.Register(user, model.Password)); }
public static int Register(string firstName, string lastName, string email, string password, string photo) { return(AccountDB.Register(firstName, lastName, email, password, photo)); }