public SiteDivisionSettings Add(SiteDivisionSettings pt) { _unitOfWork.Repository <SiteDivisionSettings>().Insert(pt); return(pt); }
public void Delete(SiteDivisionSettings pt) { _unitOfWork.Repository <SiteDivisionSettings>().Delete(pt); }
public void Update(SiteDivisionSettings pt) { pt.ObjectState = ObjectState.Modified; _unitOfWork.Repository <SiteDivisionSettings>().Update(pt); }
public SiteDivisionSettings Create(SiteDivisionSettings pt) { pt.ObjectState = ObjectState.Added; _unitOfWork.Repository <SiteDivisionSettings>().Insert(pt); return(pt); }