Beispiel #1
0
        public string IsUseridExist(string usrName)
        {
            CustomerApplication app = AutofacExt.GetFromFac <CustomerApplication>();

            Infrastructure.Response result = new Infrastructure.Response();
            try
            {
                result.Message = app.IsUseridExist(usrName).ToString();
            }
            catch (Exception ex)
            {
                result.Status  = false;
                result.Message = ex.Message;
            }
            return(JsonHelper.Instance.Serialize(result));
        }