public void UpdatePosition(Position position)
        {
            Position p = context.Positions.Find(position.Id);

            if (p != null)
            {
                context.Entry(p).State = EntityState.Modified;
                context.SaveChanges();
            }
        }
        public long InsertPosition(Position position)
        {
            context.Positions.Add(position);
            context.SaveChanges();

            return position.Id;
        }