예제 #1
0
        public int Delete(int Id)
        {
            var entity = _context.Vehicles.Find(Id);

            _context.Remove(entity);

            return(Id);
        }
예제 #2
0
        public int Delete(int Id)
        {
            var entity = _context.Establishments.Find(Id);

            _context.Remove(entity);

            return(Id);
        }