public bool LastnameWasInput(string lastname) { if (lastname == null) { throw new ArgumentNullException(nameof(lastname)); } var result = _validation.CheckName(lastname); ValidationFieldResponse?.Invoke(EEditProfileFields.LastName, result); return(result); }
public bool StatusWasInput(string status) { if (status == null) { throw new ArgumentNullException(nameof(status)); } var result = _validation.CheckStatus(status); ValidationFieldResponse?.Invoke(EEditProfileFields.Status, result); return(result); }