public void WriteOffItem(int id) { try { int iter = Incoming.FindElement(id); WriteOff.InCome(Incoming[iter]); View.ViewProduct(Incoming[iter], "WriteOff"); Incoming.OutCome(iter); } catch (Exception ex) { Console.WriteLine(ex.Message); } }