bool InterfaceScenary.DeleteScenary(int id) { ScenaryContext scenary = new ScenaryContext(); return(scenary.Delete(id)); }
Scenary InterfaceScenary.GetScenaryById(int id) { ScenaryContext scenary = new ScenaryContext(); return(scenary.GetById(id)); }
List <string> InterfaceScenary.GetAllScenaryTypes() { ScenaryContext scenary = new ScenaryContext(); return(scenary.GetAllTypes()); }
List <Scenary> InterfaceScenary.GetAllScenaries() { ScenaryContext scenary = new ScenaryContext(); return(scenary.GetAll()); }
Scenary InterfaceScenary.GetOrCreateScenary(string season, string type) { ScenaryContext scenary = new ScenaryContext(); return(scenary.GetOrCreate(season, type)); }
bool InterfaceScenary.AddScenary(string season, string type) { ScenaryContext scenary = new ScenaryContext(); return(scenary.Add(season, type)); }