This commit is contained in:
@@ -63,7 +63,7 @@ namespace AyaNova.Biz
|
||||
return new PartInventoryBiz(ct, userId, translationId, roles);
|
||||
case AyaType.PartInventoryDataList:
|
||||
return new PartInventoryDataListBiz(ct, userId, translationId, roles);
|
||||
case AyaType.PartInventoryRequestDataList:
|
||||
case AyaType.PartInventoryRequestDataList:
|
||||
return new PartInventoryRequestDataListBiz(ct, userId, translationId, roles);
|
||||
|
||||
|
||||
@@ -128,6 +128,9 @@ namespace AyaNova.Biz
|
||||
return new PMBiz(ct, userId, translationId, roles, UserType.Service);
|
||||
//---
|
||||
|
||||
case AyaType.WorkOrderStatus:
|
||||
return new WorkOrderStatusBiz(ct, userId, translationId, roles);
|
||||
|
||||
case AyaType.Reminder:
|
||||
return new ReminderBiz(ct, userId, translationId, roles);
|
||||
case AyaType.Review:
|
||||
|
||||
@@ -261,7 +261,7 @@ MULTIPLE discount / markup ITEMS
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -222,7 +222,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -160,7 +160,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -228,7 +228,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Biz
|
||||
|
||||
//get all text for the object that would have been indexed for search
|
||||
//called by search::GetInfoAsync as a result of a user requesting a search result sumary
|
||||
Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id);
|
||||
Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -177,7 +177,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -582,7 +582,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await ct.PM.AsNoTracking().SingleOrDefaultAsync(z => z.Id == id);//# NOTE intentionally not calling quote get async here, don't need the whole graph
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -216,7 +216,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -385,7 +385,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -149,7 +149,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -190,7 +190,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -334,7 +334,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -559,7 +559,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await ct.Quote.AsNoTracking().SingleOrDefaultAsync(z => z.Id == id);//# NOTE intentionally not calling quote get async here, don't need the whole graph
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -193,7 +193,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -261,7 +261,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -270,7 +270,7 @@ namespace AyaNova.Biz
|
||||
ISearchAbleObject o = (ISearchAbleObject)BizObjectFactory.GetBizObject(ayaType, ct, userId, currentUserRoles, translationId);
|
||||
|
||||
//get extract
|
||||
var searchParams = await o.GetSearchResultSummary(id);
|
||||
var searchParams = await o.GetSearchResultSummary(id, ayaType);
|
||||
|
||||
//extract and rank here
|
||||
ExtractAndRank er = new ExtractAndRank();
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
// await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
// }
|
||||
|
||||
// public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
// public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
// {
|
||||
// var obj = await GetAsync(id,false);
|
||||
// var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -192,7 +192,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -190,7 +190,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -643,7 +643,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -188,7 +188,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -252,7 +252,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -617,12 +617,36 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await ct.WorkOrder.AsNoTracking().SingleOrDefaultAsync(z => z.Id == id);//# NOTE intentionally not calling workorder get async here, don't need the whole graph
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
DigestSearchText(obj, SearchParams);
|
||||
return SearchParams;
|
||||
switch (specificType)
|
||||
{
|
||||
case AyaType.WorkOrder:
|
||||
var obj = await ct.WorkOrder.AsNoTracking().SingleOrDefaultAsync(z => z.Id == id);//# NOTE intentionally not calling workorder get async here, don't need the whole graph
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
DigestSearchText(obj, SearchParams);
|
||||
return SearchParams;
|
||||
case AyaType.WorkOrderItem:
|
||||
return await ItemGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemExpense:
|
||||
return await ExpenseGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemLabor:
|
||||
return await LaborGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemLoan:
|
||||
return await LoanGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemPart:
|
||||
return await PartGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemTask:
|
||||
return await TaskGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemTravel:
|
||||
return await TravelGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemOutsideService:
|
||||
return await OutsideServiceGetSearchResultSummary(id);
|
||||
case AyaType.WorkOrderItemUnit:
|
||||
return await UnitGetSearchResultSummary(id);
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void DigestSearchText(WorkOrder obj, Search.SearchIndexProcessObjectParameters searchParams)
|
||||
@@ -4591,8 +4615,9 @@ namespace AyaNova.Biz
|
||||
o.PurchaseOrderDateViz = po.OrderedDate;
|
||||
o.PurchaseOrderExpectedDateViz = po.ExpectedReceiveDate;
|
||||
|
||||
if(o.RequestedByUserId!=null){
|
||||
o.RequestedByUserViz=await ct.User.AsNoTracking().Where(x => x.Id == o.RequestedByUserId).Select(x => x.Name).FirstOrDefaultAsync();
|
||||
if (o.RequestedByUserId != null)
|
||||
{
|
||||
o.RequestedByUserViz = await ct.User.AsNoTracking().Where(x => x.Id == o.RequestedByUserId).Select(x => x.Name).FirstOrDefaultAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4652,8 +4677,8 @@ namespace AyaNova.Biz
|
||||
|
||||
//UGLY workaround kind of, in order to avoid some poitem fuckery related to the dual reciprocal link between woitempartrequests adn poitems
|
||||
//set the new item received quantity to zero if there is no poitemid (this is because the db itself will set the poitemid if the poitem is delete but not update the quantity received)
|
||||
if(proposedObj.PurchaseOrderItemId==null && proposedObj.Received!=0)
|
||||
proposedObj.Received=0;//not a biz rule but a biz adaptation
|
||||
if (proposedObj.PurchaseOrderItemId == null && proposedObj.Received != 0)
|
||||
proposedObj.Received = 0;//not a biz rule but a biz adaptation
|
||||
|
||||
//Any form customizations to validate?
|
||||
var FormCustomization = await ct.FormCustom.AsNoTracking().SingleOrDefaultAsync(z => z.FormKey == AyaType.WorkOrderItemPartRequest.ToString());
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace AyaNova.Biz
|
||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
||||
}
|
||||
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType)
|
||||
{
|
||||
var obj = await GetAsync(id, false);
|
||||
var SearchParams = new Search.SearchIndexProcessObjectParameters();
|
||||
|
||||
Reference in New Issue
Block a user