This commit is contained in:
2021-01-08 15:55:34 +00:00
parent 71958d474a
commit 63a15dfc83
2 changed files with 5 additions and 7 deletions

View File

@@ -187,7 +187,7 @@ namespace AyaNova.Biz
////////////////////////////////////////////////////////////////////////////////////////////////
//ACCEPT
//
internal async Task<CustomerServiceRequest> AcceptAsync(long csrId, long? workorderId) //MIGRATE_OUTSTANDING waiting for workorder to be completed or at least have a customerid which it currently doesn't
internal async Task<CustomerServiceRequest> AcceptAsync(long csrId, long workorderId) //MIGRATE_OUTSTANDING waiting for workorder to be completed or at least have a customerid which it currently doesn't
{
CustomerServiceRequest dbObject = await ct.CustomerServiceRequest.SingleOrDefaultAsync(m => m.Id == csrId);
if (dbObject == null)
@@ -197,11 +197,9 @@ namespace AyaNova.Biz
}
throw new System.NotImplementedException("//MIGRATE_OUTSTANDING CustomerServiceRequestBiz::AcceptAsync - awaiting workorder completion ");
// WorkOrder w=null;
//if (workorderId==0){WorkOrderBiz.GenerateWorkOrder()} //this is how it would work in theory
// WorkOrder w=null;
// if(workorderId==null){
// w=WorkOrderBiz.;
// }
// CustomerServiceRequest SnapshotOfOriginalDBObj = new CustomerServiceRequest();
// CopyObject.Copy(dbObject, SnapshotOfOriginalDBObj);