コード例 #1
0
ファイル: PhimBLL.cs プロジェクト: lvl162/QLRP_KienTruc
 public bool ThemPhim(string ten, string theloai, DateTime khoichieu, string mota)
 {
     try
     {
         PhimDTO p = new PhimDTO()
         {
             TenPhim = ten, TheLoai = theloai, NgayKhoiChieu = khoichieu, MoTa = mota
         };
         if (phimDAL.ThemPhim(p))
         {
             return(true);
         }
         return(false);
     }
     catch (Exception)
     {
         throw;
     }
 }
コード例 #2
0
ファイル: PhimBLL.cs プロジェクト: Hiissu/Phimwf
 public void ThemPhim(PhimDTO obj)
 {
     obj_phim.ThemPhim(obj);
 }