Esempio n. 1
0
        public string GetAndFormatDinnerInfo(int dinnerID)
        {
            StringBuilder info = new StringBuilder();

            Dinner checkedDinner = dinnerManager.Retrieve(dinnerID);

            info.AppendFormat("Title: {0} \n", checkedDinner.Title);
            info.AppendFormat("DinnerID: {0} \n", checkedDinner.DinnerID);
            info.AppendFormat("EventDate: {0} \n", checkedDinner.EventDate.Date);
            info.AppendFormat("Address: {0} \n", checkedDinner.Address);
            info.AppendFormat("HostedBy: {0}", checkedDinner.HostedBy);

            return(info.ToString());
        }
Esempio n. 2
0
 public Gebruiker Retrieve(string key)
 {
     return(_crudInterface.Retrieve(key));
 }
Esempio n. 3
0
 public Leverancier Retrieve(string key)
 {
     return(_crudInterface.Retrieve(key));
 }
 public Productcategorie Retrieve(string key)
 {
     return(_crudInterface.Retrieve(key));
 }
 public Kortingcoupon Retrieve(string key)
 {
     return(_crudInterface.Retrieve(key));
 }
Esempio n. 6
0
 public Recensie Retrieve(string key)
 {
     return(_interface.Retrieve(key));
 }