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