Ejemplo n.º 1
0
 public ApplicationManager()
 {
     ApplicationBLL = new ApplicationBLL();
     CustomerBLL    = new CustomerBLL();
     CaseBLL        = new CaseBLL();
     CollectionBLL  = new CollectionBLL();
     StatusBLL      = new StatusBLL();
 }
Ejemplo n.º 2
0
        public IApplication Delete(string id)
        {
            IApplication app = ApplicationBLL.Get(id);

            if (app != null)
            {
                app = ApplicationBLL.Delete(app);
            }
            ICase c = CaseBLL.Get(id);

            if (c != null)
            {
                c = CaseBLL.Delete(c);
            }
            ICollection col = CollectionBLL.Get(id);

            if (col != null)
            {
                col = CollectionBLL.Delete(col);
            }

            return(app);
        }
Ejemplo n.º 3
0
 public ICollection Update(ICollection item, decimal?value, decimal?offset)
 {
     return(CollectionBLL.Update(item, value, offset));
 }
Ejemplo n.º 4
0
 public ICollection GetById(string id)
 {
     return(CollectionBLL.Get(id));
 }
Ejemplo n.º 5
0
 public ICollection Create(string appId, decimal?value, decimal?offset)
 {
     return(CollectionBLL.Create(appId, value, offset));
 }
Ejemplo n.º 6
0
 public void Dispose()
 {
     _collectionBLL  = null;
     _applicationBLL = null;
 }
Ejemplo n.º 7
0
 public CollectionManager()
 {
     _collectionBLL  = new CollectionBLL();
     _applicationBLL = new ApplicationBLL();
 }