private StoredDetails DumbConstructor(int id, string folderLocation, string ticketLocation) { StoredDetails deter = new StoredDetails(); deter.id = id; deter.folderLocation = folderLocation; deter.ticketLocation = ticketLocation; return(deter); }
public string getTicketLocation(int ticketId) { if (storage.containsTicket(ticketId)) { bool success; StoredDetails details = storage.getStoredDetails(ticketId, out success); return(storage.getAbsoluteFileLocation(details.ticketLocation)); } return(null); }