public ListenCall GetNextCall() // List(Of CallRecord) { ListenCall objListenCall = new ListenCall(); try { if (!HttpContext.Current.User.Identity.IsAuthenticated) { return(objListenCall); } objListenCall = objCCInternalLayer.GetNextCall(); } catch (Exception ex) { throw ex; } return(objListenCall); }
public ListenCall GetNextCalibration() { ListenCall objListenCall = new ListenCall(); try { if (!HttpContext.Current.User.Identity.IsAuthenticated) { return(objListenCall); } string userName = HttpContext.Current.User.Identity.Name; objListenCall = objCCInternalLayer.GetNextCalibration(userName); } catch (Exception ex) { throw ex; } return(objListenCall); }