Example #1
0
        public async Task <Tuple <bool, string, UserIDNameModel> > GetUsernameByDCIDorName(string DcIDorName)
        {
            Tuple <bool, string, UserIDNameModel> result = null;

            try
            {
                result = await _repo.GetUsernameByDCIDorName(DcIDorName);
            }
            catch (Exception ex)
            {
                ErrorLog.Write(ex);
            }

            return(result);
        }