mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	UnitOfWork compltely removed. GetDbContext now returns a NadekoContext. Changed every access to contect via uow._context to uow
This commit is contained in:
		@@ -76,7 +76,7 @@ namespace NadekoBot.Core.Common.TypeReaders
 | 
			
		||||
            long cur;
 | 
			
		||||
            using (var uow = _db.GetDbContext())
 | 
			
		||||
            {
 | 
			
		||||
                cur = uow._context.DiscordUser.GetUserCurrency(ctx.User.Id);
 | 
			
		||||
                cur = uow.DiscordUser.GetUserCurrency(ctx.User.Id);
 | 
			
		||||
                uow.SaveChanges();
 | 
			
		||||
            }
 | 
			
		||||
            return cur;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user