public int Delete(Posisi obj) { int result = 0; using (IDbContext context = new DbContext()) { _repository = new PosisiRepository(context); result = _repository.Delete(obj); } return(result); }