public void OpenCategory(Category cat) {
			Debug.WriteLine ("OpenEvent");
			this.catIdForSegue = cat.CategoryId;
			this.entryIdForSegue = cat.EntryId;
			this.catNameForSegue = cat.CatName;
			PerformSegue ("segueEventsByGenre", this);
		}
Esempio n. 2
0
		public Category ToCategory() {

			Category temp = new Category ();
			temp.CategoryId = CategoryId;
			temp.CatName = Name;
			temp.CatUrlTitle = UrlTitle;

			return temp;
		}