public Hair Get(int id) { Hair hair = control.GetAll().FirstOrDefault(x => x.Id == id); if (hair != null) { return(hair); } else { throw new Exception("Not such id in Database"); } }