Beispiel #1
0
        public OperationResult <EventsDTO> EditEvent(EventsDTO eventsDTO)
        {
            IEventsBDC invitesBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(invitesBDC.EditEvent(eventsDTO));
        }
Beispiel #2
0
        public bool InvitePeople(int eventId, string invites)
        {
            IEventsBDC invitesBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(invitesBDC.InvitePeople(eventId, invites));
        }
Beispiel #3
0
        public EventsDTO GetEditEvent(int EventId)
        {
            IEventsBDC invitesBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(invitesBDC.GetEditEvent(EventId));
        }
Beispiel #4
0
        public OperationResult <EventsDTO> CreateEvents(EventsDTO eventsDTO)
        {
            IEventsBDC createEventsBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(createEventsBDC.CreateEvents(eventsDTO));
        }
Beispiel #5
0
        public List <List <EventsDTO> > InvitedTo(int UserId)
        {
            IEventsBDC myInivitesBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(myInivitesBDC.InvitedTo(UserId));
        }
Beispiel #6
0
        public List <List <EventsDTO> > GetMyEvents(int UserId)
        {
            IEventsBDC myEventsBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(myEventsBDC.GetMyEvents(UserId));
        }
Beispiel #7
0
        public EventsDTO GetEventsDetails(int EventId)
        {
            IEventsBDC eventsDetailsBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(eventsDetailsBDC.GetEventsDetails(EventId));
        }
Beispiel #8
0
        public List <List <EventsDTO> > getEvents(int id)
        {
            IEventsBDC eventsBDC = (IEventsBDC)BDCFactory.Instance.Create(BDCType.EventsBDC);

            return(eventsBDC.GetEvents(id));
        }