Esempio n. 1
0
        public void DeleteTicket(int ID)
        {
            var removed = _WSSC.Remove(new Ticket {
                TicketId = ID
            }).Entity;

            _WSSC.SaveChanges();
        }
Esempio n. 2
0
        public void DeleteUser(int UserId)
        {
            var removed = _WSSC.Remove(new User {
                UserId = UserId
            }).Entity;

            _WSSC.SaveChanges();
        }