/// <summary> /// Cập nhật một entity /// </summary> public bool Update(int id, T entity) { using (dl) { return(dl.Update(id, entity)); } }
protected virtual void Update() { DLBase dal = GetMapper(); dal.Update(this); }