public bool AddPerformances(Meet meet) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool performanceAdded = meetDBSvc.AddPerformances(meet); return(performanceAdded); }
public Dictionary <string, string> FindGirlsTeam(int id) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); Dictionary <string, string> teams = meetDBSvc.FindGirlsTeam(id); return(teams); }
public bool DeleteGirlsTeam(int id) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool girlsTeamDeleted = meetDBSvc.DeleteGirlsTeam(id); return(girlsTeamDeleted); }
public bool DeleteMeet(int id) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool meetDeleted = meetDBSvc.DeleteMeet(id); return(meetDeleted); }
public bool AddGirlsTeam(Meet meet) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool girlsTeamAdded = meetDBSvc.AddGirlsTeam(meet); return(girlsTeamAdded); }
public int FindMeetId(Meet meet) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); int meetID = meetDBSvc.FindMeetId(meet); return(meetID); }
public Meet FindMeet(int id) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); Meet meet = meetDBSvc.FindMeet(id); return(meet); }
public Dictionary <int, Meet> ListOfMeets(string user) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); Dictionary <int, Meet> listOfMeets = meetDBSvc.ListOfMeets(user); return(listOfMeets); }
public bool ResetPrimaryKeys() { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool resetKeys = meetDBSvc.ResetPrimaryKeys(); return(resetKeys); }
public bool DeletePerformance(int id, string eventName) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool perfsDeleted = meetDBSvc.DeletePerformance(id, eventName); return(perfsDeleted); }
public bool AddMeet(Meet meet, string user) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool meetAdded = meetDBSvc.AddMeet(meet, user); return(meetAdded); }
public List <Performance> FindPerformances(int id, string eventName) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); List <Performance> perfs = meetDBSvc.FindPerformances(id, eventName); return(perfs); }
public Dictionary <string, List <Performance> > FindPerformances(int id) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); Dictionary <string, List <Performance> > perfs = meetDBSvc.FindPerformances(id); return(perfs); }
public bool AddPerformance(Meet meet, string eventName) { IMeetDBSvc meetDBSvc = (IMeetDBSvc)GetService(typeof(IMeetDBSvc).Name); bool performanceAdded = meetDBSvc.AddPerformance(meet, eventName); return(performanceAdded); }