Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
597 B
0
Indexable
Never
 [WebMethod]
        public static int GetCurrentUnclosedVisitsCount()
        {
            Treatment_CallClosureReview ccr = new Treatment_CallClosureReview();
            var arg = new Arg_CA_ServiceOrder_ClosedByBatch_GetUnclosedVisits
            {
                BusinessId = SessionManager.BusinessId
            };
            var unclosedVisits = AbstractProxys.GetProxyInstance().OrderServices.CA_ServiceOrder_ClosedByBatch_GetUnclosedVisits(arg).Where(ucv => ccr.ServiceOrderIDsList.Contains(ucv.ServiceOrderId)).ToList();
            return unclosedVisits.Count;

        }
Leave a Comment