Example #1
0
        private StoredDetails DumbConstructor(int id, string folderLocation, string ticketLocation)
        {
            StoredDetails deter = new StoredDetails();

            deter.id             = id;
            deter.folderLocation = folderLocation;
            deter.ticketLocation = ticketLocation;
            return(deter);
        }
Example #2
0
 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);
 }