public int UpdateBlog(Blog blog) { return(_dataAccessor.Execute(UPDATE, new { blog.Id, blog.Name })); }
public int Update(string storedProcedureName, object param) { return(_dataAccessor.Execute(storedProcedureName, param)); }
public int UpdateBlog(Blog blog) { return(_dataAccessor.Execute(UPDATE, new { blog.Id, blog.Name })); }
public int Update(string storedProcedureName, object param) { return(_dataAccessor.Execute(storedProcedureName, param)); }