Beispiel #1
0
        public static IList <Status> FindAll()
        {
            IList <Status> sts     = new List <Status>();
            IStatusPersist persist = new StatusPersist();

            return(sts = persist.FindAll());
        }
Beispiel #2
0
        public void Load(int StatusId)
        {
            IStatusPersist persist = new StatusPersist();

            this.Id = StatusId;
            persist.Load(this);
        }
Beispiel #3
0
        public void Delete(int StatusId)
        {
            IStatusPersist persist = new StatusPersist();

            this.Id = StatusId;
            persist.Delete(this);
        }
Beispiel #4
0
        public void Save()
        {
            IStatusPersist persist = new StatusPersist();

            persist.Save(this);
        }