示例#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();
 }