public void UpdateTepTin(HOSO_TepTinDinhKem attachFile, out string oldFilePath)
 {
     DAL.HOSO_TepTinDinhKem tmp = GetTepTin(attachFile.PR_KEY);
     oldFilePath   = tmp.Link;
     tmp.TenTepTin = attachFile.TenTepTin;
     tmp.GhiChu    = attachFile.GhiChu;
     tmp.Link      = attachFile.Link;
     Save();
 }
 public void InsertTepTin(HOSO_TepTinDinhKem attachFile)
 {
     dataContext.HOSO_TepTinDinhKems.InsertOnSubmit(attachFile);
     Save();
 }