public bool Equals(AudioDrama other) { var dtoEqual = AudioDramaDto.Equals(other.AudioDramaDto); var userDataEqual = AudioDramaUserData.Equals(other.AudioDramaUserData); var bothEqual = dtoEqual && userDataEqual; return(bothEqual); }
public bool IsReleased(AudioDramaDto dto) { return(dto.ReleaseDate.Date <= DateTime.Now.Date); }
public string ToSearchString() { return(AudioDramaDto.ToSearchString()); }
public AudioDrama(AudioDramaDto audioDramaDto, AudioDramaUserData audioDramaUserData) { AudioDramaDto = audioDramaDto; AudioDramaUserData = audioDramaUserData; }