public static bool Update(OlympicManagerEntity olympicManagerEntity, DbTransaction trans = null, string zoneId = "") { var provider = new OlympicManagerProvider(zoneId); return(provider.Update(olympicManagerEntity, trans)); }
public static List <OlympicManagerEntity> GetAll(string zoneId = "") { var provider = new OlympicManagerProvider(zoneId); return(provider.GetAll()); }
public static bool Delete(System.Guid managerId, DbTransaction trans = null, string zoneId = "") { OlympicManagerProvider provider = new OlympicManagerProvider(zoneId); return(provider.Delete(managerId, trans)); }
public static OlympicManagerEntity GetById(System.Guid managerId, string zoneId = "") { var provider = new OlympicManagerProvider(zoneId); return(provider.GetById(managerId)); }