예제 #1
0
        public static bool Update(OlympicManagerEntity olympicManagerEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new OlympicManagerProvider(zoneId);

            return(provider.Update(olympicManagerEntity, trans));
        }
예제 #2
0
        public static List <OlympicManagerEntity> GetAll(string zoneId = "")
        {
            var provider = new OlympicManagerProvider(zoneId);

            return(provider.GetAll());
        }
예제 #3
0
        public static bool Delete(System.Guid managerId, DbTransaction trans = null, string zoneId = "")
        {
            OlympicManagerProvider provider = new OlympicManagerProvider(zoneId);

            return(provider.Delete(managerId, trans));
        }
예제 #4
0
        public static OlympicManagerEntity GetById(System.Guid managerId, string zoneId = "")
        {
            var provider = new OlympicManagerProvider(zoneId);

            return(provider.GetById(managerId));
        }