Exemple #1
0
        public object GetNameByMphone(string mblNo)
        {
            //new edition
            var isPendingAccountExist = _repository.CheckPendingAccountByMphone(mblNo);

            if (Convert.ToInt32(isPendingAccountExist) != 0)
            {
                return("PEXIST");
            }
            //new edition
            else
            {
                return(_repository.GetNameByMphone(mblNo));
            }
        }