public App(string dbPath) { InitializeComponent(); FlowListView.Init(); var navPage = new NavigationPage(new LandingPage()); navPage.BarBackgroundColor = Color.Transparent; navPage.BarTextColor = Color.White; MainPage = navPage; FavRepo = new FavRepository(dbPath); VoteRepo = new VoteRepo(dbPath); LoggedInClubId = 0; }
public void DeleteFav(int fguid) { FavRepository.DelFav(fguid); }
public void Post([FromForm] tblfav fav) { FavRepository.AddFav(fav); }
public List <tblfav> Get(string userid, string type) { return(FavRepository.GetFavByUseridAndType(userid, type)); }
public List <tblfav> Get(string userid) { return(FavRepository.GetFavByUserid(userid)); }
public List <tblfav> Get() { return(FavRepository.Get()); }