Exemplo n.º 1
0
        public Task InsertPerson(PersonModel person)
        {
            string sql = "EXEC dbo.sti_Insert_blazor_people @FirstName,@Lastname,@EmailAddress";

            return(_db.SaveData(sql, person));
        }
Exemplo n.º 2
0
        public Task InsertPerson(PersonModel person)
        {
            string sql = @"insert into dbo.people (firstname,lastname,emailaddress) value (@firstname,@lastname,@emailaddress);";

            return(_db.SaveData(sql, person));
        }