public OwnerRepository(AsaNiDBContext asaNiDBContext) : base(asaNiDBContext) { }
public void Dispose() { AsaNiDBContext.Dispose(); }
public void Save() { AsaNiDBContext.SaveChanges(); }
public UnitOfWork(AsaNiDBContext asaNiDBContext) { AsaNiDBContext = asaNiDBContext; House = new HouseRepository(AsaNiDBContext); Owner = new OwnerRepository(AsaNiDBContext); }
public HouseRepository(AsaNiDBContext asaNiDBContext) : base(asaNiDBContext) { }
public RepositoryBase(AsaNiDBContext asaNiDBContext) { AsaNiDBContext = asaNiDBContext; }