clean up migrate_outstanding stuff
This commit is contained in:
@@ -153,45 +153,6 @@ 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
|
||||
// {
|
||||
// var dbObject = await GetAsync(csrId, false);
|
||||
// if (dbObject == null)
|
||||
// {
|
||||
// AddError(ApiErrorCode.NOT_FOUND, "id");
|
||||
// return null;
|
||||
// }
|
||||
|
||||
// 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
|
||||
|
||||
|
||||
|
||||
// }
|
||||
|
||||
// ////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// //REJECT
|
||||
// //
|
||||
// internal async Task<CustomerServiceRequest> RejectAsync(long csrId)
|
||||
// {
|
||||
// var dbObject = await GetAsync(csrId, false);
|
||||
// if (dbObject == null)
|
||||
// {
|
||||
// AddError(ApiErrorCode.NOT_FOUND, "id");
|
||||
// return null;
|
||||
// }
|
||||
|
||||
// //Nothing to validate as it just came from the db and rejecting doesn't require validation
|
||||
// dbObject.Status = CustomerServiceRequestStatus.Declined;
|
||||
// await PutAsync(dbObject);
|
||||
// return dbObject;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//SEARCH
|
||||
|
||||
Reference in New Issue
Block a user