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