// ----------------------------------------------------------------------// #region >> Methods << public IList <Posisi> GetAll() { var listPosisi = new List <Posisi>(); using (IDbContext context = new DbContext()) { _repository = new PosisiRepository(context); listPosisi = _repository.GetAll().ToList(); } return(listPosisi); }