Example #1
0
 public bool Update(color color) => db.Update(color) > 0;
Example #2
0
 public bool Update(models.Type type) => db.Update(type) > 0;
Example #3
0
        public bool DeleteBlog(int blog_id)
        {
            Sql sql = new Sql().Append("set Isdal=1 where blog_id =@0", blog_id);

            return(db.Update <blog>(sql) > 0);
        }