public Posisi GetByID(int id) { Posisi obj = null; using (IDbContext context = new DbContext()) { _repository = new PosisiRepository(context); obj = _repository.GetByID(id); } return(obj); }