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