예제 #1
0
 public bool ThemCTPhieuNhap(Ct_PhieuNhap ctpn)
 {
     try
     {
         _repository.themCTPN(ctpn);
     }
     catch
     {
         return(false);
     }
     return(true);
 }
예제 #2
0
 public void suaCTPN(Ct_PhieuNhap ctPN)
 {
     throw new NotImplementedException();
     //Chưa nghĩ ra
 }
예제 #3
0
 public void themCTPN(Ct_PhieuNhap ctPN)
 {
     entities.Ct_PhieuNhap.Add(ctPN);
     entities.SaveChanges();
 }