コード例 #1
0
        public async Task <Tuple <bool, string, List <LoansViewModel> > > GetActiveLoanDetailsByUserNameorDCID(string DcIDorName)
        {
            Tuple <bool, string, List <LoansViewModel> > result = null;

            try
            {
                result = await _repoLoans.GetActiveLoanDetailsByUserNameorDCID(DcIDorName);
            }
            catch (Exception ex)
            {
                ErrorLog.Write(ex);
            }
            return(result);
        }