void DeletePhieuChatLuong(PhieuChatLuong PhieuChatLuong) { int ret = db.p_PhieuChatLuong_Xoa(null, _selectedPhieuChatLuong.ID); if (ret == 0) { PhieuChatLuongs.Remove(PhieuChatLuongs.Where(x => x.ID == _selectedPhieuChatLuong.ID).FirstOrDefault()); } }
void EditPhieuChatLuong(PhieuChatLuong PhieuChatLuong) { int ret = db.p_PhieuChatLuong_Sua(null, _selectedPhieuChatLuong.ID, _selectedPhieuChatLuong.Ten, _selectedPhieuChatLuong.NgayCap); }