Example #1
0
 public List <ActionErrorMessage> IsEmailAddressValid(ContactRequestMsgEntity contactRequestMsgEntity)
 {
     if (contactRequestMsgEntity.EmailAddress.IsEmpty())
     {
         return(KanakketuppuApiCoreUtility.GetErrorMessages(ContactServiceCoreErrorCode.EmailAddressIsEmpty));
     }
     return(null);
 }
Example #2
0
        public List <ActionErrorMessage> IsCustomerNameValid(ContactRequestMsgEntity contactRequestMsgEntity)
        {
            if (contactRequestMsgEntity.CustomerName.IsEmpty())
            {
                return(KanakketuppuApiCoreUtility.GetErrorMessages(ContactServiceCoreErrorCode.CustomerNameIsEmpty));
            }

            return(null);
        }