public MistakePlacesPage(Cateogry mistakeCategory, int areaId) { misCategory = mistakeCategory; areaID = areaId; this.Title = Helper.GetTitle(misCategory); Init(); }
public static string GetTitle(Cateogry cateogry) { if (cateogry.Contents != null || cateogry.Contents.ar != null) { return(cateogry.Contents.ar.Title); } return(""); }
public PostDataType(Cateogry mistakeCategory, int areaID) { App.Current.MainPage.Navigation.PushAsync(new Views.MistakePlacesPage(mistakeCategory, areaID)); }