public async Task DeleteStaircaseAsync(Guid StaircaseId)
        {
            var staircase = await _context.FindAsync <Staircase>(StaircaseId);

            _context.RemoveRange(staircase.Stairs);
            _context.Remove(staircase);
        }
Exemplo n.º 2
0
        public async Task DeleteRoomAsync(Guid RoomId)
        {
            var room = await _context.FindAsync <Room>(RoomId);

            _context.Remove(room);
        }
Exemplo n.º 3
0
        public async Task DeleteStairAsync(Guid StairId)
        {
            var stair = await _context.FindAsync <Stair>(StairId);

            _context.Remove(stair);
        }
Exemplo n.º 4
0
        public async Task DeleteRetailerAsync(Guid RetailerId)
        {
            var retailer = await _context.FindAsync <Retailer>(RetailerId);

            _context.Remove(retailer);
        }
Exemplo n.º 5
0
        public async Task DeleteOrderAsync(Guid OrderId)
        {
            var order = await _context.FindAsync <Order>(OrderId);

            _context.Remove(order);
        }
Exemplo n.º 6
0
        public async Task DeleteCarpetAsync(Guid CarpetId)
        {
            var carpet = await _context.FindAsync <Carpet>(CarpetId);

            _context.Remove(carpet);
        }
Exemplo n.º 7
0
        public async Task DeleteBuildingAsync(Guid BuildingId)
        {
            var building = await _context.FindAsync <Building>(BuildingId);

            _context.Remove(building);
        }
Exemplo n.º 8
0
        public async Task DeleteClosetAsync(Guid ClosetId)
        {
            var closet = await _context.FindAsync <Closet>(ClosetId);

            _context.Remove(closet);
        }
Exemplo n.º 9
0
        public async Task DeleteInstallerAsync(Guid InstallerId)
        {
            var installer = await _context.FindAsync <Installer>(InstallerId);

            _context.Remove(installer);
        }
Exemplo n.º 10
0
        public async Task DeleteCustomerAsync(Guid CustomerId)
        {
            var customer = await _context.FindAsync <Customer>(CustomerId);

            _context.Remove(customer);
        }