This commit is contained in:
2021-01-30 18:55:46 +00:00
parent 4c06e9dfec
commit 777d6f95a7
2 changed files with 44 additions and 71 deletions

View File

@@ -68,9 +68,7 @@ namespace AyaNova.Biz
////////////////////////////////////////////////////////////////////////////////////////////////
//GET
//
//Internal, used by datalistfetcher via datalisttableprocessingoptions constructor
//can be called without full biz instantiation as it doesn't rely on UserId in biz object or other shit
//maybe should be static?
//
internal async Task<DataListSavedColumnView> GetAsync(long userId, string listKey, bool createDefaultIfNecessary)
{
var ret = await ct.DataListSavedColumnView.AsNoTracking().SingleOrDefaultAsync(z => z.UserId == userId && z.ListKey == listKey);
@@ -90,6 +88,7 @@ namespace AyaNova.Biz
}
////////////////////////////////////////////////////////////////////////////////////////////////
//DELETE
//