Exemplo n.º 1
0
 public void DeleteInventoryEvent(int Event_Key)
 {
     InventoryEvent entity = new InventoryEvent {
         InventoryEventKey = Event_Key
     };
     CommonResponse result = _inventoryEventLogic.Delete(entity);
 }
Exemplo n.º 2
0
        public int QTYofTags(int Event_Key)
        {
            InventoryEvent entity = new InventoryEvent {
                InventoryEventKey = Event_Key
            };

            return(_inventoryEventLogic.QTYofTags(entity));
        }
Exemplo n.º 3
0
        public void ReadInventoryEventById(int Event_Id)
        {
            InventoryEvent entity = new InventoryEvent
            {
                InventoryEventKey = Event_Id
            };

            _Response             = _inventoryEventLogic.ReadbyId(entity);
            _ActiveInventoryEvent = (InventoryEvent)_Response.Result;
        }
Exemplo n.º 4
0
        public void ReadInventoryEventByName(string Event_Name)
        {
            InventoryEvent entity = new InventoryEvent
            {
                InventoryEventName = Event_Name
            };

            _Response             = _inventoryEventLogic.ReadbyName(entity);
            _ActiveInventoryEvent = (InventoryEvent)_Response.Result;
        }
Exemplo n.º 5
0
        public void CreateInventoryEvent(string Event_Name, string Event_Description)
        {
            InventoryEvent entity = new InventoryEvent
            {
                InventoryEventName        = Event_Name,
                InventoryEventDescription = Event_Description,
                CreationDate = DateTime.Now,
                Status       = true
            };

            _Response = _inventoryEventLogic.Create(entity);
            UpdateActiveInventoryEvent((InventoryEvent)_Response.Result);
        }
Exemplo n.º 6
0
        public void UpdateInventoryEvent(int Event_Key, string Event_Name, string Event_Description
                                         , bool Event_Status, bool TicketCountLoded, bool MOTags)
        {
            InventoryEvent entity = new InventoryEvent
            {
                InventoryEventKey         = Event_Key,
                InventoryEventName        = Event_Name,
                InventoryEventDescription = Event_Description,
                Status          = Event_Status,
                TicketCountTags = TicketCountLoded,
                MOTags          = MOTags
            };

            _Response = _inventoryEventLogic.Update(entity);
            UpdateActiveInventoryEvent((InventoryEvent)_Response.Result);
        }
Exemplo n.º 7
0
 public void UpdateActiveInventoryEvent(InventoryEvent x)
 {
     _ActiveInventoryEvent = x;
 }