Beispiel #1
0
        private string CheckExist(SysCompanyAddModel company)
        {
            string message = string.Empty;

            if (company.CompanyCode != "" || company.CompanyCode != null)
            {
                if (sysCompanyService.Any(x => (x.Code == company.CompanyCode)))
                {
                    message = stringLocalizer[LanguageSub.MSG_CODE_EXISTED].Value;
                }
            }
            return(message);
        }