Can delete stores

This commit is contained in:
nicolas.dorier
2018-07-19 19:31:17 +09:00
parent c3ea63c6ce
commit ce17e3212a
23 changed files with 1026 additions and 45 deletions

View File

@@ -162,7 +162,8 @@ namespace BTCPayServer.Controllers
using (var ctx = _ContextFactory.CreateContext())
{
return await ctx.Apps
.Where(us => us.Id == appId && us.AppType == appType.ToString())
.Where(us => us.Id == appId &&
us.AppType == appType.ToString())
.FirstOrDefaultAsync();
}
}