public void Update(DAL.MauBaoCaoDong baocao)
    {
        var bcd = dataContext.MauBaoCaoDongs.SingleOrDefault(t => t.ID == baocao.ID);

        if (bcd != null)
        {
            bcd.ReportContent = baocao.ReportContent;
            bcd.EditedDate    = baocao.EditedDate;
            bcd.EditedBy      = baocao.EditedBy;
            Save();
        }
    }
 public void Delete(int id)
 {
     DAL.MauBaoCaoDong bcd = dataContext.MauBaoCaoDongs.Where(t => t.ID == id).FirstOrDefault();
     dataContext.MauBaoCaoDongs.DeleteOnSubmit(bcd);
     Save();
 }