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

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

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

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

            return(provider.GetById(managerId));
        }