public void Delete(InspectionQaAttributes qa) { _UnitOfWork.Repository <InspectionQaAttributes>().Delete(qa); }
public void Update(InspectionQaAttributes qa) { qa.ObjectState = ObjectState.Modified; _UnitOfWork.Repository <InspectionQaAttributes>().Update(qa); }
public InspectionQaAttributes Create(InspectionQaAttributes qa) { qa.ObjectState = ObjectState.Added; _UnitOfWork.Repository <InspectionQaAttributes>().Insert(qa); return(qa); }