public void Delete(Instruction instrution)
        {
            if (instrution == null)
                throw new Exception("Instruction was not supplied");

            Delete(instrution.Id);
        }
        public Instruction Add(Instruction instruction)
        {
            int nextId = _instructions.Max(i => i.Id) + 1;
            instruction.Id = nextId;

            _instructions.Add(instruction);

            return instruction;
        }
        public Instruction Update(Instruction instruction)
        {
            if(instruction.Id > 0)
            {
                Delete(instruction.Id);
                _instructions.Add(instruction);
            }

            return instruction;
        }