public NotificationControl() { currentEmployee = Util.ValidateUser(); inventory = new InventoryEntities(); notificationBroker = new NotificationBroker(inventory); notificationList = notificationBroker.GetAllNotification(currentEmployee); dataColumn = new DataColumn[] { new DataColumn(columnName[0]), new DataColumn(columnName[1]) }; }
public NotificationControl() { currentEmployee = Util.ValidateUser(); inventory = new InventoryEntities(); notificationBroker = new NotificationBroker(inventory); notificationList = notificationBroker.GetAllNotification(currentEmployee); dataColumn = new DataColumn[] { new DataColumn(columnName[0]), new DataColumn(columnName[1]) }; }