示例#1
0
 public void Delete(InspectionQaAttributes qa)
 {
     _UnitOfWork.Repository <InspectionQaAttributes>().Delete(qa);
 }
示例#2
0
 public void Update(InspectionQaAttributes qa)
 {
     qa.ObjectState = ObjectState.Modified;
     _UnitOfWork.Repository <InspectionQaAttributes>().Update(qa);
 }
示例#3
0
 public InspectionQaAttributes Create(InspectionQaAttributes qa)
 {
     qa.ObjectState = ObjectState.Added;
     _UnitOfWork.Repository <InspectionQaAttributes>().Insert(qa);
     return(qa);
 }