Exemple #1
0
        public async Task Create(UserModel user)
        {
            List <SQLParam> sQLParams = new List <SQLParam>()
            {
                new SQLParam("@email", user.Email),
                new SQLParam("@password", user.Password),

                new SQLParam("@fullname", user.FullName),
                new SQLParam("@address", user.Address),
                new SQLParam("@phone", user.PhoneNo)
            };
            await _createUserinfo.Create(sQLParams);
        }