public void DeleteFavoritesBuildingInstruction(FavoritesBuildingInstruction deleteFavoritesBuildingInstruction)
 {
     _appDbContext.Remove(deleteFavoritesBuildingInstruction);
     _appDbContext.SaveChanges();
 }
        public async Task AddFavoritesBuildingInstruction(FavoritesBuildingInstruction newFavoritesBuildingInstruction)
        {
            await _appDbContext.FavoritesCategories.AddAsync(newFavoritesBuildingInstruction);

            await _appDbContext.SaveChangesAsync();
        }