public void deleteEvent(EventsModel model, Guid ticket)
        {
            DataCommandService.IDataCommandService dataCommandService = new DataCommandService.DataCommandServiceClient();
            DataCommandService.DeleteRequest       evnt = new DataCommandService.DeleteRequest();

            evnt.Id     = model.Id;
            evnt.Ticket = ticket;

            try
            {
                dataCommandService.DeleteEvents(evnt);
            }
            catch (Exception ex)
            { }
        }
Exemplo n.º 2
0
        public void deleteMessage(MessagesModel model, Guid ticket)
        {
            DataCommandService.IDataCommandService dataCommandService = new DataCommandService.DataCommandServiceClient();

            DataCommandService.DeleteRequest message = new DataCommandService.DeleteRequest();

            message.Id     = model.Id;
            message.Ticket = ticket;

            try
            {
                dataCommandService.DeleteMessages(message);
            }
            catch (Exception ex)
            { }
        }
Exemplo n.º 3
0
        public void deleteDeanOffice(DeansOfficesModel model, Guid ticket)
        {
            DataCommandService.IDataCommandService dataCommandService = new DataCommandService.DataCommandServiceClient();

            DataCommandService.DeleteRequest deansOffice = new DataCommandService.DeleteRequest();

            deansOffice.Id     = model.Id;
            deansOffice.Ticket = ticket;

            try
            {
                dataCommandService.DeleteDeansOffices(deansOffice);
            }
            catch (Exception ex)
            { }
        }
        public void deleteLibrary(LibrariesModel model, Guid ticket)
        {
            DataCommandService.IDataCommandService dataCommandService = new DataCommandService.DataCommandServiceClient();

            DataCommandService.DeleteRequest library = new DataCommandService.DeleteRequest();

            library.Id     = model.Id;
            library.Ticket = ticket;

            try
            {
                dataCommandService.DeleteLibraries(library);
            }
            catch (Exception ex)
            { }
        }